Menu

#273 INT 3 debug handling

Unstable_(example)
open
nobody
None
1
2021-01-18
2017-05-15
No

If one sets a BPINT 3, the current debugger will not actually break on INT 3 instructions. The following patch fixes that. It is useful for debugging code which utilizes INT 3.

1 Attachments

Discussion

  • Cimarron Mittelsteadt

    Note that this is for INT3 via opcode (0xcc). INT3 via opcodes (0xcd 0x03) already works.

     
  • Qbix

    Qbix - 2021-01-18

    I am slightly confused as to why we should break on breakpoints that we don;t set ?
    Wouldn't this be triggering all kinds of anti-debugger tricks ?

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.