Created
May 25, 2018 19:28
-
-
Save izabera/386bffeeefced613e6cc60a9964e783a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
file /bin/true | |
b main | |
r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import gdb | |
def stop_handler(arg): | |
print('hello') | |
gdb.events.stop.connect(stop_handler) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define hook-stop | |
python | |
print("hello") | |
end | |
end | |
file /bin/true | |
b main | |
r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment