FACT_core icon indicating copy to clipboard operation
FACT_core copied to clipboard

process stop while plugin exception?

Open chenjianquan7 opened this issue 1 year ago • 1 comments

The FACT version you are using

4.2dev

Your question

image

Here is the code for handling plugin analysis. My question is, if an ExceptionSafeProcess exception is executed, will the following code run normally? Is the progress bar not moving related to this? Which code updates the progress

chenjianquan7 avatar Nov 17 '23 04:11 chenjianquan7

Hi, the analysis plugin code is encapsulated in a ExceptionSafeProcess. This is done to ensure that if an error occurs, the analysis scheduling will continue and no information gets lost. So yes, even if an exception occurs, the rest should run normally and the progress should also be updated. I'm still not sure what may cause your issues. I tried to reproduce it by analyzing a larger firmware with cwe_checker enabled, but was unsuccessful.

jstucke avatar Nov 22 '23 08:11 jstucke