View previous topic :: View next topic |
Author |
Message |
thethiny Cheater
Reputation: 0
Joined: 01 Apr 2012 Posts: 38 Location: earth
|
Posted: Sun Jul 17, 2016 3:21 pm Post subject: Seperate Memory for each Routine Call? [ASM] /MemoryShare |
|
|
Hey
I have a code that has this for example:
Code: |
alloc(data,512)
mov [data],eax
nop
nop
cmp [data],0 |
however, another call to the same function is occurring which is changing the content of [data] before the is having its time to execute.
Is there a way to separate the memory locations? I don't want them to share [data].
Thanks
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Jul 17, 2016 4:09 pm Post subject: |
|
|
You can set up a filter or use a different injection point.
|
|
Back to top |
|
 |
thethiny Cheater
Reputation: 0
Joined: 01 Apr 2012 Posts: 38 Location: earth
|
Posted: Sun Jul 17, 2016 4:41 pm Post subject: |
|
|
I have lots of comparisons, and I can't use a different injection point as the value I need is only there for a short point.
I tried doing a queue, but I can't use the registers cuz they're all busy.
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Sun Jul 17, 2016 5:17 pm Post subject: |
|
|
You're not making sense.
|
|
Back to top |
|
 |
thethiny Cheater
Reputation: 0
Joined: 01 Apr 2012 Posts: 38 Location: earth
|
Posted: Sun Jul 17, 2016 5:29 pm Post subject: |
|
|
This game runs multiple code at the same time, so if I alter r13 for example, it might be getting used somewhere else. It doesn't make sense, but if I change r13 even for one op, the game will crash. Maybe it's just tamper protection.
Anyways,
Assume this:
Code: |
mov al,cl
nop
mov al,0
|
If I want to copy the value of al before it changes into 0, then the only injection point is nop. You get what I mean?
|
|
Back to top |
|
 |
ParkourPenguin I post too much
Reputation: 152
Joined: 06 Jul 2014 Posts: 4702
|
Posted: Sun Jul 17, 2016 6:01 pm Post subject: |
|
|
thethiny wrote: | Code: |
mov al,cl
nop
mov al,0
|
If I want to copy the value of al before it changes into 0, then the only injection point is nop. | Or, you know, at any point above that instruction and get cl instead (or whatever is written to cl, etc.).
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
 |
thethiny Cheater
Reputation: 0
Joined: 01 Apr 2012 Posts: 38 Location: earth
|
Posted: Mon Jul 18, 2016 12:43 am Post subject: |
|
|
ParkourPenguin wrote: | [Or, you know, at any point above that instruction and get cl instead (or whatever is written to cl, etc.). |
Above the instruction are references to KERNEL, I don't want to inject there.
However, I noticed a shortly afterwards, which took me to a location with everything I need ready there and there's no multi call. Apparently I was injecting into a function. I'm sorry about that.
|
|
Back to top |
|
 |
|