View previous topic :: View next topic |
Author |
Message |
night_sky How do I cheat? Reputation: 0
Joined: 23 Apr 2018 Posts: 6
|
Posted: Thu Apr 26, 2018 10:47 pm Post subject: Some questions |
|
|
1) I really like the trace output of CE. It's composed into a nice structure and so easy to look at. But I notice that the Find feature doesn't work, or maybe I did something wrong. For example: "EAX==1" or "readInteger(0x15e090)==42".
2) How can I change the hotkeys for actions like Step into, Step over, etc ? I can't find them in the settings.
3) Can I set a conditional breakpoint that will trigger as soon as the condition is true (like awatch in GDB) ? Because I don't know where the value will change.
4) How to trace a value to the line where it was created ? Like in:
sub eax,3
mov [ecx+78],eax
mov edx,[ecx+78]
pop ecx,edx
push ecx
mov eax,[ebp+8]
...
Suppose that I'm looking for the line that decreases the health value (1st line). And the health went through 1000 times of either written to or read from memory, in hundreds of different functions. It will take a lot of time and tedious to do it manually.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Fri Apr 27, 2018 1:33 am Post subject: |
|
|
1: probably a bug, i'll fix it. (readInteger will not work because it doesn't store a full memory copy with each instruction)
2: currently no official way, but you can use lua to change the shortcuts of the menuitems
3: after setting the breakpoint rightclick it and choose the option for a condition. If it breaks before you have time first break before, or pause the target process
4: no idea, that is different for each thing. some are in the stack, some are just intermediate values. but usually the value is in a register at some point
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
night_sky How do I cheat? Reputation: 0
Joined: 23 Apr 2018 Posts: 6
|
Posted: Fri Apr 27, 2018 3:16 am Post subject: |
|
|
Quote: | 2: currently no official way, but you can use lua to change the shortcuts of the menuitems
|
Including Run, Step, etc ? Can you elaborate a bit ?
Quote: | 3: after setting the breakpoint rightclick it and choose the option for a condition. If it breaks before you have time first break before, or pause the target process |
That's not a very useful method. But thanks anyway.
The game I'm debugging is quite complex. The values are stored in different ways, some times it's * 10, sometimes + 2 for example. And there are C + assembly code. Sometimes the real action is like 50 stacks below...
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Fri Apr 27, 2018 3:58 am Post subject: |
|
|
this lua script changes the shortcuts:
Code: |
mf=getMemoryViewForm()
mf.Run1.ShortCut=textToShortCut('F5')
mf.Step1.ShortCut=textToShortCut('F6')
mf.StepOver1.ShortCut=textToShortCut('F7')
mf.Executetillreturn1.ShortCut=textToShortCut('F8')
mf.RunTill1.ShortCut=textToShortCut('F9')
mf.miSetAddress.ShortCut=textToShortCut('F10')
mf.Setbreakpoint1.ShortCut=textToShortCut('F11')
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
|