Implement state.generate_testcase (#438)

* ran

* Some dirty work

* Rm unnecessary sanitization

* Fix state.generate_inputs event publishing

We don't need to manually pass `self` because State is automatically
forwarded as an argument. Also correctly specify a message for the state
and expose to the API

* Rename

* Update test for new save_testcase args, make test more robust

* Simplify arguments related to generate_testcase_callback by removing default arg. Add test for this behavior

* Minor test fixup

* Add official API docs

* Remove unnecessary new event type
This commit is contained in:
Mark Mossberg
2017-08-08 18:12:55 -04:00
committed by GitHub
parent 9ae76a4430
commit eef3cd20e2
7 changed files with 34 additions and 12 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ State
-----
.. autoclass:: manticore.core.state.State
:members: abandon, constrain, new_symbolic_buffer, new_symbolic_value, solve_n, solve_one, solve_buffer, symbolicate_buffer, invoke_model
:members: abandon, constrain, new_symbolic_buffer, new_symbolic_value, solve_n, solve_one, solve_buffer, symbolicate_buffer, invoke_model, generate_testcase
Cpu
---