各位同学,我把自己弄的方法说一下,各位帮我看一下,到底是哪里出的问题,实验程序:windows的纸牌freecell.exe。修改目的:增加2F08个自己的机器码到text节里面。
以下是正常的原freecell.exe的节属性
01 .tex
VirtSize: 0000517A VirtAddr: 00001000
raw data offs: 00000400 raw data size: 00005200 relocation offs: 00000000 relocations: 00000000
line # offs: 00000000 line #`s: 00000000
characteristics: 60000020
CODE MEM_EXECUTE MEM_READ
02 .dat
VirtSize: 0000138C VirtAddr: 00007000 raw data offs: 00005600 raw data size: 00000200
relocation offs: 00000000 relocations: 00000000
line # offs: 00000000 line #`s: 00000000
characteristics: C0000040
INITIALIZED_DATA MEM_READ MEM_WRITE
03 .rsr
VirtSize: 00007F10 VirtAddr: 00009000 raw data offs: 00005800 raw data size: 00008000
relocation offs: 00000000 relocations: 00000000
line # offs: 00000000 line #`s: 00000000
characteristics: 40000040
INITIALIZED_DATA MEM_READ