Comments (3)
There is no (working) way to invoke a script on a breakpoint right now. But for your thing specifically you can use a ;
to separate commands. Note that this doesn't scale nicely, but a command like bp eax; bp ebx
should work fine. Another possibility is to write a plugin that does as many commands as you like (possibly in C# using https://github.com/x64dbg/DotX64Dbg)
from x64dbg.
I just discovered the ;
way, it's cool that it works but it's a pain in the ass to work with.
Best I could do is to have a script that runs SetBreakpointCommand, but with each change I need to do the following:
- save script file
- switch to script tab
- reload script
- pause debugged app
- run script
- resume app and go back to cpu tab
If I could do all of the above in one click it would be so much better! Maybe I need to script the script runner
from x64dbg.
Current breakpoint command just runs a few commands without changing x64dbg to a paused state first, therefore some commands, like "run", could not be used. x64dbg have to properly enter a paused state before starting executing script. This has a big performance penalty. I think we need a separate property for conditional breakpoint where you can specify a label in the script to execute, so x64dbg knows it need to use a slower and different approach to properly handle this. This also means if your script contains no "run" command in this section, then the debuggee will be left in paused state.
from x64dbg.
Related Issues (20)
- It looks the software captured this error in program so I cannot found this error in system log. HOT 3
- Easily symbolizing call stacks HOT 1
- Allow SetBreakpointLog's first args to be breakpoint name HOT 1
- Change behavior of pageup/pagedown to change the cursor
- Memory map corruption on PE with FileAligment 0x1000 HOT 1
- Run trace failure HOT 2
- ASCII strings are not displayed properly in CPU window HOT 2
- Option to temporarily disable the use of database HOT 3
- Command for getting an export from a module that takes the module's base address (not name!) HOT 1
- Qt 5.6 contains security vulnerabilities HOT 1
- Error starting process (CreateProcess, 00000740, uiAccess="true")!
- Save trace settings HOT 1
- Write file contents to debuggee memory location HOT 1
- Can't attach to process without image name created by process-ghosting
- After entering the breakpoint, the mouse response becomes very slow HOT 1
- rizin/radare2 vim philosophy interface fox x96dbg HOT 3
- Chinese characters cannot be displayed correctly(中文乱码) HOT 3
- Slow memory allocation when running an application under x64dbg HOT 1
- A huge amount of memory is consumed when saving a large database HOT 5
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 x64dbg.