* Use locked_context() in count_instructions example * We use this example on the front page, and it currently generates a flood of warnings. * Update example indeces * Remove dump_stats() * Remove extra comments * Remove redundant comments
17 lines
385 B
Python
Executable File
17 lines
385 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
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(path)
|
|
m.run()
|
|
|