I'm debugging a .exe file on Windows with IDA's debugger.

How can I identify when the code calls the random() function?

1 Answer 1


While the debugger is loaded and the executable is running, double-click on the random() function entry in the imports tab/view to see it in the disassembler view. Then place a breakpoint on it using Debugger -> Breakpoints -> Add breakpoint.

  • 1
    (F2 is the keyboard shortcut for placing breakpoints)
    – user22970
    Commented Aug 29, 2018 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.