Last active
October 25, 2016 19:23
-
-
Save shi-yan/cb36f7b070cff0c811f45fb6acdf38b5 to your computer and use it in GitHub Desktop.
Useful tricks
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
check symbol: | |
http://stackoverflow.com/questions/34732/how-do-i-list-the-symbols-in-a-so-file | |
nm -g yourLib.so | |
nm -gC yourLib.so | |
debug dlopen | |
http://stackoverflow.com/questions/34415168/dlopen-returns-with-file-not-found-although-file-exist | |
export LD_DEBUG=all | |
let gdb break into a program with ctrl-c | |
handle SIGINT stop | |
http://stackoverflow.com/questions/5857300/gdb-ctrlc-doesnt-interrupt-process-as-it-usually-does-but-rather-terminates-t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment