Skip to content

Instantly share code, notes, and snippets.

@gmanolache
Created February 18, 2015 13:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gmanolache/21fca514a1e69d533f23 to your computer and use it in GitHub Desktop.
Save gmanolache/21fca514a1e69d533f23 to your computer and use it in GitHub Desktop.
__author__ = 'gmanolache'
import re
sample_file_1 = 'C:/Users/gmanolache/Downloads/dataSample/0A32eTdBKayjCWhZqDOQ.asm'
functions = [re.findall(r'\.idata:.*extrn\ (.*):.*', line) for line in open(sample_file_1)]
for function in functions:
if function:
print function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment