Darth Blue Posted January 19, 2022 Posted January 19, 2022 Hello guys. the command `bphws $abc, 'r'` puts a hardware breakpoint on execute. But, what i want to do via command is to `breakpoint > on acces > dword`. You know you can do this right click on **DUMP** window and select `breakpoint > on access > dword`. I have searched: Google x64dbg documentation tuts4you forums Unfortunately i couldn't find a way to do that. Did i miss something? P.S I need this because i am writing a script. Thank you :)
kao Posted January 19, 2022 Posted January 19, 2022 https://help.x64dbg.com/en/latest/commands/breakpoint-control/SetHardwareBreakpoint.html https://github.com/x64dbg/x64dbg/blob/18b949ee51a634bf5fff3ee717a765ba136cb791/src/dbg/commands/cmd-breakpoint-control.cpp#L393-L450 According to docs, 2nd argument = "r" sets break-on-readwrite (=on access), which is counter-intuitive but seems to match the code. You'll need to use 3rd parameter to set size.
Darth Blue Posted January 21, 2022 Author Posted January 21, 2022 Hello kao; Thanks for reply. I have tried the command: bphws esp-4,'r',4 But nothing changed, look at the screenshot i have attached. In my situation, if i set breakpoint by the command which i have shared above, x64dbg doesn't break on hardware breakpoint. Bu it breaks on if i set `Right click on dump window > hardware breakpoint > on access > dword`. Thank you have shared source from x64dbg's github page but i still could not find a solution.
unn4m3D_BR Posted September 23, 2022 Posted September 23, 2022 Hi, have you tried this one? bph esp,r,4 It works for me. []'s
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now