ucsb-seclab / syml

12 stars 5 forks source link

Got an error when running a cgc sample #1

Closed StartFromBeginning closed 2 years ago

StartFromBeginning commented 2 years ago

I put CADET_00001 and POV_00000.xml in a folder called test_data, and use this command in the syml virtualenv:

python run.py --filename /home/sfb/syml/work/test_data/CADET_00001 --pov /home/sfb/syml/work/test_data/POV_00000.xml --analyse

The error messages are below:

INFO    | 2022-01-05 14:06:50,821 | syml.tracing.tracer | Starting to trace binary CADET_00001 with input POV_00000.xml
ERROR   | 2022-01-05 14:06:51,967 | archr.analyzers.qemu_tracer | Unexpected status line from qemu tracer. Cannot get the last read marker to set taint_fd. Please make sure you are using the latest shellphish-qemu.
ERROR   | 2022-01-05 14:06:52,868 | syml | POV_00000.xml@CADET_00001 terminated with exception 'AttributeError' - ("'angrProjectAnalyzer' object has no attribute 'scout_bow'",)
Traceback (most recent call last):
  File "run.py", line 72, in <module>
    tracer.run(write_callback=write_callback)
  File "/home/sfb/syml/work/syml/tracing/tracer.py", line 59, in run
    self._run(target, r, write_callback)
  File "/home/sfb/syml/work/syml/tracing/tracer.py", line 70, in _run
    project = proj_bow.fire(base_addr=None)
  File "/home/sfb/syml/work/syml/tracing/utils/__init__.py", line 37, in fire
    if self.scout_bow is not None:
AttributeError: 'angrProjectAnalyzer' object has no attribute 'scout_bow'

The shellphish-qemu version is 0.12.3. Is there something wrong with my usage?