Comments (3)
The target crashing is likely due to a defect in the debugger not being able to handle a breakpoint being hit simultaneously from different threads very well.. I'm seeing if I can improve this; the debugger code is more complex than I'd like :|.
Getting the stack trace is not easy currently. Generating the stack trace each time a watchpoint was hit is expensive and the code would need to shifted/refactored to do it once per unique address, but I don't think it's worth making that change. More reasonable is a feature request of halting in the debugger for the first watch access, maybe.
A neat workaround is injecting your own bit of code in the debugger. This will lead to much faster execution too. Eg:
cmp eax, 0x2
jne SKIP
nop ; <— SET BREAKPOINT HERE
SKIP:
from bit-slicer.
Thanks for your reply.
I imagined, that for every line in the Watch Window, you would get one backtrace (the first time it appeared).
I tried your injecting approach. But for some reason the target crashes after injecting:
I also tried it at another point which accessed the variable too, there it didn't crash but it also didn't trigger the breakpoint. Could it be because the address in cmp is wrong? I simply used the one the watch window shows "Watching 32-bit write accesses at ADDRESS".
from bit-slicer.
Late response, but because the instruction is:
mov [esi], edi
I'd probably want to compare esi
(the memory address) or edi
(the new value)
eax
is assigned afterwards.
from bit-slicer.
Related Issues (20)
- Instacrash when searching HOT 11
- Memory cannot be searched because it may be running with elevated privileges. HOT 5
- Threading for a lot of While loops HOT 3
- Bit Slicer suddenly doesn't work for any app HOT 7
- [Feature Request] Can you add a feature that we can see decimal value in memory viewer or debugger. HOT 1
- Group-Search function HOT 3
- "<game name> memory cannot be searched due to system protections." HOT 5
- Support code injection for Apple Silicon HOT 3
- use external python or use pip of internal python HOT 6
- debugger defaults to ARM on x86 executable HOT 7
- Add closable section of variables HOT 1
- Allow use of symbol() function in variable address field HOT 5
- Feature request: Searching for multiples HOT 2
- Addresses not corresponding to addresses in ROM HOT 1
- ~1MB difference in 1.7.12 DMG file sizes HOT 6
- Need more guide of Scripting
- Scripts fail to edit/open in IDLE HOT 20
- Feature Request: Nearby Search HOT 9
- Feature Request: Searching in Memory Viewer
- 1.8 Alphas HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bit-slicer.