A
alphatan['a:lfa:ta2n]
ASSUME:
1.There's no symbol table of my program.
2.gdb, is my only choice.
3.disassembly code of my program(snatch):
0x08048340 <main+24>: push $0x804840d
0x08048345 <main+29>: call 0x8048268
Now, I want to set the second line to be 'nop'.
I've asked for this in other bbs.
Which the best way I get is :
set *(unsigned*)(main+29)=0x90
BUT, I think this is very unreadable.
Does any body know that, how can I modify some
line with *ASSEMBLE* but not *MACHINE CODE*??
Thanks.
1.There's no symbol table of my program.
2.gdb, is my only choice.
3.disassembly code of my program(snatch):
0x08048340 <main+24>: push $0x804840d
0x08048345 <main+29>: call 0x8048268
Now, I want to set the second line to be 'nop'.
I've asked for this in other bbs.
Which the best way I get is :
set *(unsigned*)(main+29)=0x90
BUT, I think this is very unreadable.
Does any body know that, how can I modify some
line with *ASSEMBLE* but not *MACHINE CODE*??
Thanks.