emorasoul

Results 8 comments of emorasoul

I pull the new code,but problem still happen. ![image](https://user-images.githubusercontent.com/7411861/192448029-e5ff44e9-97e9-4b27-aecd-44addd499278.png) {'architectures': {'arm,cortex-a76arm,armv8': 'DeviceTree'}, 'summary': ['arm,cortex-a76\x00arm,armv8'], 'analysis_date': 1664247561.237713, 'plugin_version': '0.4.0'} Process ExceptionSafeProcess-61: Traceback (most recent call last): File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in...

I found a patch not submit in master. I am testing after patch that. diff --git a/src/plugins/analysis/architecture_detection/internal/dt.py b/src/plugins/analysis/architecture_detection/internal/dt.py index 9d9a0fa4..e823daa5 100644 --- a/src/plugins/analysis/architecture_detection/internal/dt.py +++ b/src/plugins/analysis/architecture_detection/internal/dt.py @@ -81,7 +81,7 @@ def...

I found the problem is **'summary': ['arm,cortex-a76\x00arm,armv8']**,when sanitize skip the meta ‘summary’. I am sorry i can't provide the firmware,it violating company regulation. [2022-09-27 10:59:21][db_interface_backend][ERROR]: Bad value in analysis result...

I subjuct sanitize action should be doing in summary、plugin_version...but not only get_analysis_without_meta() func,to prevent the NUL exception. def create_analysis_entries(file_object: FileObject, fo_backref: FileObjectEntry) -> List[AnalysisEntry]: return [ AnalysisEntry( uid=file_object.uid, plugin=plugin_name, plugin_version=analysis_data.get('plugin_version'),...

> Since #862 is merged now and has hopefully fixed all remaining problems, could you please retry it and report your findings? It’s OK now~!Thanks!