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