Home | History | Annotate | Download | only in linux

Lines Matching refs:binary

6 """Dump functions called by static intializers in a Linux Release binary.
18 4) at run time, on startup the binary runs all function pointers.
130 def ParseNm(binary):
131 """Given a binary, yield static initializers as (file, start, size) tuples."""
132 nm = subprocess.Popen(['nm', '-S', binary], stdout=subprocess.PIPE)
142 def ExtractSymbolReferences(binary, start, end):
144 cmd = ['objdump', binary, '--disassemble',
153 'did you accidentally run this on a Debug binary?')
177 binary = args[0]
183 files = ParseNm(binary)
198 for ref in ExtractSymbolReferences(binary, addr, addr+size):