19 lines
499 B
Python
Executable File
19 lines
499 B
Python
Executable File
import sys
|
|
from manticore import Manticore
|
|
|
|
# This example demonstrates loading a simple binary in Manticore,
|
|
# running it to completion without any callbacks or instrumentation
|
|
# and producing basic information about the paths explored
|
|
|
|
|
|
if __name__ == '__main__':
|
|
path = sys.argv[1]
|
|
# Create a new Manticore object
|
|
m = Manticore(None, path)
|
|
# Start path exploration. start() returns when Manticore
|
|
# finishes
|
|
m.start()
|
|
# Print high level statistics
|
|
m.dump_stats()
|
|
|