m.start -> m.run (#25)

This commit is contained in:
Mark Mossberg 2017-02-22 10:08:35 -05:00 committed by GitHub
parent f51227acd5
commit 44bf8745a1
11 changed files with 11 additions and 11 deletions

View File

@ -74,5 +74,5 @@ def hook(state):
m.terminate() # tell Manticore to stop
m.add_hook(hook_pc, hook)
m.start()
m.run()
```

View File

@ -24,6 +24,6 @@ if __name__ == '__main__':
m.add_hook(None, explore)
m.start()
m.run()
print "Executed ", m.context['count'], " instructions."

View File

@ -29,4 +29,4 @@ if __name__ == '__main__':
# Start path exploration. start() returns when Manticore
# finishes
m.start()
m.run()

View File

@ -26,5 +26,5 @@ if __name__ == '__main__':
m.add_hook(0x109f0, myhook)
m.start()
m.run()
print 'done'

View File

@ -27,7 +27,7 @@ if __name__ == '__main__':
# Start path exploration. start() returns when Manticore
# finishes
m.start()
m.run()
# Print high level statistics
m.dump_stats()

View File

@ -34,5 +34,5 @@ if __name__ == '__main__':
# Start path exploration. start() returns when Manticore
# finishes
m.start()
m.run()

View File

@ -12,7 +12,7 @@ if __name__ == '__main__':
m = Manticore(None, path)
# Start path exploration. start() returns when Manticore
# finishes
m.start()
m.run()
# Print high level statistics
m.dump_stats()

View File

@ -19,4 +19,4 @@ if __name__ == '__main__':
print "Adding hook to: ", hex(to_abandon)
m.add_hook(to_abandon, explore)
m.start()
m.run()

View File

@ -45,7 +45,7 @@ if __name__ == '__main__':
m.add_pc_hook(target[0], entered_func)
# Start path exploration. start() returns when Manticore finishes
m.start()
m.run()
# Print high level statistics
#m.dump_stats()

View File

@ -145,7 +145,7 @@ def main():
logger.info('[+] Loading challenge %s', args.programs)
m.start()
m.run()
m.dump_stats()

View File

@ -525,7 +525,7 @@ class Manticore(object):
self._assertions[pc] = ' '.join(line.split(' ')[1:])
def start(self):
def run(self):
'''
Start Manticore, creating all necessary support classes.
'''