MCPcopy Create free account
hub / github.com/BaumFX/cpp-anti-debug / int_3

Method int_3

anti_debug.cpp:381–394  ·  view source on GitHub ↗

i3 is a standard software breakcode (opcode 0xCC), when you set a breakpoint the debugger replaces the opcode under the breakpoint location with 0xCC (int 3), when the debugger hits this opcode, it breaks and restores the original opcode (after clicking go again) we use an exception handler to switch found from true to false without the debugger, something has to handle the breakpoint exception (o

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected