Commit 38ac8074 by devttys0

Added convenience binwalk.scan function

parent 1a91c283
__all__ = ['execute', 'Modules', 'ModuleException']
__all__ = ['scan', 'execute', 'Modules', 'ModuleException']
import sys
import binwalk.core.common
# This allows importing of the built-in pyqtgraph if it
# is not available on the system at run time.
# No longer needed, as pyqtgraph is no longer bundled with binwalk.
sys.path.append(binwalk.core.common.get_libs_path())
from binwalk.core.module import Modules, ModuleException
# Convenience functions
def scan(*args, **kwargs):
return Modules(*args, **kwargs).execute()
def execute(*args, **kwargs):
return Modules(*args, **kwargs).execute()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment