Skip to content

Instantly share code, notes, and snippets.

@tmr232
Created March 3, 2016 14:34
Show Gist options
  • Save tmr232/fc824564107f478277f7 to your computer and use it in GitHub Desktop.
Save tmr232/fc824564107f478277f7 to your computer and use it in GitHub Desktop.
Find calls to constant addresses
import sark
for line in sark.lines():
if not line.is_code:
continue
for operand in line.insn.operands:
if operand.type.is_mem:
print line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment