Flash and allocated memory
-migrated-
Flash and allocated memory Posted on: 06/17/2012 10:18am
Quote Post
Is it possible to make jumps to allocated memory in flash? If yes they how should I do it since this crash plugin. Normal jmp procedures dont work probably because flash cant get assembler command right so I tried to figure smth out with offsets as they are used in flash but its rather .. not smart idea. Any way to make jumps?

Code: [Select]
[ENABLE]
alloc(newmem,2048) //2kb should be enough
Aobscan(_place6,66 ff 03 d1 24 11 61 f9 0e)
label(place6)
registersymbol(place6)
label(returnhere)

newmem:
db 66 ff 03 d1 24 7F 61 f9 0e
jmp returnhere

_place6:
place6:
jmp newmem
nop
nop
nop
nop
returnhere:

[DISABLE]
place6:
db 66 ff 03 d1 24 11 61 f9 0e
dealloc(newmem)
unregistersymbol(place6)