sqall01 / ZwoELF

An ELF parsing and manipulation library for Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to install?

houjingyi233 opened this issue · comments

no module named ZwoELF

git clone https://github.com/sqall01/ZwoELF.git
cd ZwoELF/
python
Python 2.7.12 (default, Nov 19 2016, 06:48:10) 
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import ZwoELF
>>> test = ZwoELF.ElfParser("/bin/bash")
>>> test.printElf()
[...]
2283 	0x0049daa0 	0x012 	rl_initialize_funmap
2284 	0x004af190 	0x013 	_rl_pushed_input_available
2285 	0x004cefc0 	0x010 	true_doc
2286 	0x00498e00 	0x0a5 	mbsmbchar
2287 	0x004781e0 	0x02f 	sh_wrerror
2288 	0x0044a9e0 	0x012 	restore_pgrp_pipe
2289 	0x006f4e00 	0x004 	interactive_comments
2290 	0x004b7df0 	0x1e2 	tilde_expand_word
2291 	0x00462130 	0x12f 	array_shift
2292 	0x007023ec 	0x004 	history_lines_this_session
>>>