debugger icon indicating copy to clipboard operation
debugger copied to clipboard

Exit with code 14 instead of continuing

Open hack-char opened this issue 1 year ago • 3 comments

Using Debian Linux and version Binary Ninja 4.0.4911 free

  1. Load file
  2. Create breakpoint
  3. Start debugging
  4. Resume from initial breakpoint at entry
  5. Interact in console with program
  6. Hit breakpoint
  7. Create stack view and interact with stack view
  8. Resume
  9. Exits with code '14' instead of further interaction with console

Does not reproduce consistently. Sometimes does resume and interact as expected, then shows exit with code 0. Actual debugged program main returns %eax if equal to zero only.

hack-char avatar Mar 18 '24 20:03 hack-char

Using Debian Linux and version Binary Ninja 4.0.4911 free

  1. Load file

  2. Create breakpoint

  3. Start debugging

  4. Resume from initial breakpoint at entry

  5. Interact in console with program

  6. Hit breakpoint

  7. Create stack view and interact with stack view

  8. Resume

  9. Exits with code '14' instead of further interaction with console

Does not reproduce consistently. Sometimes does resume and interact as expected, then shows exit with code 0. Actual debugged program main returns %eax if equal to zero only.

Hi @hack-char, could you please share with me the relevant binary so that I can reproduce it easier?

xusheng6 avatar Mar 19 '24 01:03 xusheng6

If you have a hackthebox account, you can grab it from the racecar challenge. I'll take another look tonight and see if I can re-create the crash.

hack-char avatar Mar 20 '24 17:03 hack-char