3 Commits

Author SHA1 Message Date
Mark Mossberg
d6393cc8a6 Add hook decorator (#28)
* Add m.add_hook test

* Add @m.hook test

* Add `hook` decorator for convenience

* Update readme and examples

* Update run_callback

* Improve `add_hook` docstring

expound on callback structure

* Rm debug print

* Improve docstring
2017-02-27 15:44:33 -05:00
Mark Mossberg
44bf8745a1 m.start -> m.run (#25) 2017-02-22 10:08:35 -05:00
Yan
724db78907 Assign context object to Manticore itself (#13)
* Make Manticore behave like a dict; slim callback
* Update all sample scripts to not take a context
* Add a sample script (count_instructions.py)
* We no longer need to close over Manticore state; add callback directly
* Move Manticore's context to a public attribute
2017-02-15 14:48:55 -05:00