 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Sat Jan 26, 2013 6:16 pm Post subject: [Suggestion]Assembly code scanner, for AutoAssembler |
|
|
I was wondering,
In Memory View you got that feature to find Assembly code,
Can't we use that in auto assembler?
Like
instead using AoBscan..
we could use
Code: |
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
Assemblyscan(hack,{mov [code..],value
mov value,[code..]
mov value2,value
test value,value2
je Somewhere..})
newmem:
//mov [code..],value
nop
nop
nop
//mov value,[code..]
nop
nop
nop
//mov value2,value
nop
nop
nop
//test value,value2
nop
nop
//je Somewhere, don't jmp to far, so its size is 2 bytes :P.
nop
nop
originalcode:
//mov [code..],value
//mov value,[code..]
//mov value2,value
//test value,value2
//je Somewhere..
exit:
jmp returnhere
hack:
jmp newmem
returnhere:
|
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jan 26, 2013 8:37 pm Post subject: |
|
|
You know, that would be very inefficient.
There's nice article here:
http://www.strchr.com/machine_code_redundancy
Look at those
03C3 - add eax, ebx
01D8 - add eax, ebx
and those
83C0 01 - add eax,1
81C0 01000000 - add eax,1
05 01000000 - add eax,1
As you see, one code can have more than one opcode.
_________________
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Sat Jan 26, 2013 11:23 pm Post subject: |
|
|
Oh I see now...
Well gotta stick with the aobscan :p
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|