0

While debugging an executable with x64dbg, I want to make a function call (while the executable is stopped on a breakpoint), what I want to do is the same as the following gdb line:

p (void*)freopen("inp.txt","r",stdin)

Which is expected to copy the strings into memory, call the function with their pointers as arguments, and print the value in the accumulator register after that, and stop on the same line of the breakpoint.

Tried looking into the x64dbg commands, I found a lot of similarities with gdb in the commands, but didn't find any way to achieve that, is it possible? if not, is there a plugin that could be used to achieve it?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.