Tuesday, 13 August 2013

How to find out the number of global variables in a binary

nm your-binary-file | grep '[0-9A-Fa-f]* [BCDGRS]' |cut -d ' ' -f 3 | grep -ve '__.*' | grep -v @@ | wc -l

1 comment:

  1. McAfee is an excellent antivirus program that effectively safeguards devices against the threats lurking in the online world. It offers excellent protection against the threats like malware, ransomware, and virus. It has an excellent password manager, VPN, anti-malware protection, antivirus protection, anti-ransomware protection, etc. To get effective protection against harmful threats, you can download, install and activate McAfee from mcafee.com/activate now.

    mcafee.com/activate

    ReplyDelete