Skip to content

we can insert a breakpoint context-sensitively (checking backtrace)

License

Notifications You must be signed in to change notification settings

S2-Lab/gdb-context-sensitive-breakpoint

 
 

Repository files navigation

gdb-context-sensitve-breakpoint

This is a gdb wrapper that supports callstack based breakpoint.

Usage

./insert_breakpoint.sh ... : it inserts breakpoint only if p1, p2, ... pn successively occurs in the target's stack frame (but other functions can be placed between the given parents)

./insert_direct_breakpoint.sh ... : it inserts breakpoint only if p1, p2, ... pn successively occurs in the target's stack frame

./gdb : gdb wrapper with the breakpoints

./reset_breakpoint.sh: flush all breakpoints

source env.sh: if you execute this command inside this directory, you can use all of above scripts without "./" prefix

About

we can insert a breakpoint context-sensitively (checking backtrace)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 68.2%
  • Python 31.8%