Re: Need a jump opcode generator.
- From: "Skybuck Flying" <spam@xxxxxxxxxxx>
- Date: Fri, 27 Jul 2007 11:13:58 +0200
Yeah probably jump opcode bad.
See fucking manual useless...
I didn't help one bit, stupid stupid stupid Wieeeeeeeee.
Anyway long live the debugger and the really smart people LOL.
I wrote a little test program, look look look at this:
var
OldProtect : longword;
begin
asm
@myBeautifullLabel1:
mov eax, 5
jmp @MyBeautifullLabel3
@myBeautifullLabel2:
mov eax, 6
@myBeautifullLabel3:
mov OldProtect, eax
end;
writeln( OldProtect );
exit;
end.
// Look what the debugger showed:
LoadLibraryTest.dpr.375: jmp @MyBeautifullLabel3
004112C4 EB05 jmp $004112cb
That's a jump with 8 bit displacement.
Well that doesn't help me much either.
I probably need a bigger displacement.
Me wonders...
Maybe me need to debug some more to see what problem really is.
Bye,
Skybuck.
.
- Follow-Ups:
- Re: Need a jump opcode generator.
- From: Skybuck Flying
- Re: Need a jump opcode generator.
- References:
- Need a jump opcode generator.
- From: Skybuck Flying
- Re: Need a jump opcode generator.
- From: Skybuck Flying
- Re: Need a jump opcode generator.
- From: Skybuck Flying
- Re: Need a jump opcode generator.
- From: Skybuck Flying
- Re: Need a jump opcode generator.
- From: Skybuck Flying
- Need a jump opcode generator.
- Prev by Date: Re: Need a jump opcode generator.
- Next by Date: Re: Need a jump opcode generator.
- Previous by thread: Re: Need a jump opcode generator.
- Next by thread: Re: Need a jump opcode generator.
- Index(es):