Here is a small example demonstrating how to plug an inspector, start an execution, pause, and test the current progress.
5 project = reven.Project(
"localhost", 13370)
7 if not project.execution_status().is_awaiting_configuration:
8 sys.stderr.write(
"[!] An analysis has already been done. Let's not start a new one.\n")
13 project.start_execution([reven.InspectorStopExecution(sequence_count=1000000), reven.InspectorMemoryHistory()])
19 while project.execution_status().is_busy:
20 print "Analyzing %s" % project.execution_status().status
24 project.stop_execution()
30 project.resume_execution()