Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
据我了解,process_monitor 将 crashbin 信息存储在本地。如果这是在虚拟机上运行,并且测试用例导致进程和目标机器无响应,则 vmcontrol 将恢复到较早的快照。如果在恢复到较早的快照时丢失了 crashbin 信息,如何在 Web 界面上显示或访问该信息?
浏览了Sulley环境中的大部分代码后,发现sessions.py模块中的restart_target()方法在vmcontrol可用的情况下先调用虚拟机重启,然后通过procmon尝试重启进程如果它可用。通过切换这些顺序,我可以解决从 crashbin 丢失日志信息的问题,除非整个目标机器变得无响应。