plasma-disassembler / plasma

Plasma is an interactive disassembler for x86/ARM/MIPS. It can generates indented pseudo-code with colored syntax.
GNU General Public License v3.0
3.05k stars 277 forks source link

Removed import_once, improved interactive mode, and smaller fixes #29

Closed dnet closed 9 years ago

dnet commented 9 years ago

Half of the 6 commits are smal fixes, the other three have detailed explanations in the commit messages.

ghost commented 9 years ago

Just a question, if we create multiple Disassembler object, is Capstone imported each time ? Because in the interactive mode, a new Disassembler object is created when we call the command load.

dnet commented 9 years ago

No, Capstone is imported only the first time; all later attempts will be served from the already imported module in sys.modules, which implements a caching scheme similar to yours.

ghost commented 9 years ago

Alright thanks, merge done.