* Remove ManticoreControl object * Some changes were brought in from dev-symbolicate-api * Add Manticore.terminate() * Add State.abandon() * Update sample scripts * Remove ctl from README * Fix tests * Bring in changes from dev-symbolicate-api * Lower-case wildcard * string -> cstring * abandon() docstring * Rename "name" to "label" * Remove obsolete comment * Make NUL a possible value for the last byte of a cstring * Fix AbandonState and add example binary&script * name -> label in tests, manticore.py * Ignore .DS_Store * Update symbolicate_buffer docstring
This commit is contained in:
+2
-2
@@ -65,14 +65,14 @@ class StateTest(unittest.TestCase):
|
||||
constraints = ConstraintSet()
|
||||
initial_state = State(constraints, FakeModel())
|
||||
|
||||
arr = initial_state.make_symbolic('+'*100, name='SYMBA')
|
||||
arr = initial_state.symbolicate_buffer('+'*100, label='SYMBA')
|
||||
initial_state.add(arr[0] > 0x41)
|
||||
self.assertTrue(len(initial_state.constraints.declarations) == 1 )
|
||||
with initial_state as new_state:
|
||||
|
||||
self.assertTrue(len(initial_state.constraints.declarations) == 1 )
|
||||
self.assertTrue(len(new_state.constraints.declarations) == 1 )
|
||||
arrb = new_state.make_symbolic('+'*100, name='SYMBB')
|
||||
arrb = new_state.symbolicate_buffer('+'*100, label='SYMBB')
|
||||
|
||||
self.assertTrue(len(initial_state.constraints.declarations) == 1 )
|
||||
self.assertTrue(len(new_state.constraints.declarations) == 1 )
|
||||
|
||||
Reference in New Issue
Block a user