Guest User

Untitled

a guest
Oct 17th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. nm foo | grep malloc
  2. U malloc@@GLIBC_2.2.5
  3.  
  4. find_usages foo-with-debug-symbols "malloc@@GLIBC_2.2.5"
  5.  
  6. #include <string>
  7.  
  8. int main() {
  9. auto s = std::string("hello");
  10. s += " welt";
  11. return 0;
  12. }
  13.  
  14. g++ foo.cpp -static
  15.  
  16. r2 -qAc 'agCd' a.out > callgraph.dot
Add Comment
Please, Sign In to add comment