binaryanalysis-ng icon indicating copy to clipboard operation
binaryanalysis-ng copied to clipboard

JSON reporting seems to be broken

Open hmeine opened this issue 4 years ago • 1 comments

I am getting this after setting json = yes in my config:

Traceback (most recent call last):
  File "bang-scanner", line 414, in <module>
    main(sys.argv)
  File "bang-scanner", line 374, in main
    JsonReporter(jsonfile).report(scanresult)
  File "/home/hmeine/tmp/tern-test/binaryanalysis-ng/src/JsonReporter.py", line 43, in report
    for a, h in fileresult.get_hashresult().items():
AttributeError: 'dict' object has no attribute 'get_hashresult'

hmeine avatar Jun 03 '21 13:06 hmeine

This particular reporting might (or might not) be retired in the near future, as I am currently working on separating unpacking, semantic scanning (scanning the contents of files) and reporting. I will put it on my TODO list. Thank you for reporting, it seems this one fell through the cracks.

armijnhemel avatar Jun 03 '21 13:06 armijnhemel