Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

process stop while plugin exception? #1171

Open
chenjianquan7 opened this issue Nov 17, 2023 · 1 comment
Open

process stop while plugin exception? #1171

chenjianquan7 opened this issue Nov 17, 2023 · 1 comment
Labels

Comments

@chenjianquan7
Copy link

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

@jstucke
Copy link
Collaborator

jstucke commented Nov 22, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants