How to use the manticore.core.state.TerminateState function in manticore

To help you get started, we’ve selected a few manticore examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github trailofbits / deepstate / bin / deepstate / executors / symex / manticore.py View on Github external
def pass_test(self):
    super(DeepManticore, self).pass_test()
    raise TerminateState(OUR_TERMINATION_REASON, testcase=False)
github trailofbits / deepstate / bin / deepstate / main_manticore.py View on Github external
def abandon_test(self):
    super(DeepManticore, self).abandon_test()
    raise TerminateState(OUR_TERMINATION_REASON, testcase=False)
github trailofbits / deepstate / bin / deepstate / executors / symex / manticore.py View on Github external
def fail_test(self):
    super(DeepManticore, self).fail_test()
    raise TerminateState(OUR_TERMINATION_REASON, testcase=False)
github trailofbits / deepstate / bin / deepstate / main_manticore.py View on Github external
def pass_test(self):
    super(DeepManticore, self).pass_test()
    raise TerminateState(OUR_TERMINATION_REASON, testcase=False)
github trailofbits / deepstate / bin / deepstate / executors / symex / manticore.py View on Github external
def abandon_test(self):
    super(DeepManticore, self).abandon_test()
    raise TerminateState(OUR_TERMINATION_REASON, testcase=False)
github trailofbits / deepstate / bin / deepstate / main_manticore.py View on Github external
def fail_test(self):
    super(DeepManticore, self).fail_test()
    raise TerminateState(OUR_TERMINATION_REASON, testcase=False)
github trailofbits / deepstate / bin / deepstate / main_manticore.py View on Github external
def crash_test(self):
    super(DeepManticore, self).crash_test()
    raise TerminateState(OUR_TERMINATION_REASON, testcase=False)
github trailofbits / deepstate / bin / deepstate / executors / symex / manticore.py View on Github external
def _is_program_crash(reason):
  """Using the `reason` for the termination of a Manticore `will_terminate_state`
  event, decide if we want to treat the termination as a "crash" of the program
  being analyzed."""

  if not isinstance(reason, TerminateState):
    return False

  return 'Invalid memory access' in str(reason)
github trailofbits / deepstate / bin / deepstate / main_manticore.py View on Github external
def _is_program_crash(reason):
  """Using the `reason` for the termination of a Manticore `will_terminate_state`
  event, decide if we want to treat the termination as a "crash" of the program
  being analyzed."""

  if not isinstance(reason, TerminateState):
    return False

  return 'Invalid memory access' in str(reason)