Skip to content

Is it possible to run CWE_Checker with an already analyzed binary file? #373

Discussion options

You must be logged in to vote

At the moment this is not possible, but this is mostly only an implementation detail.

What the cwe_checker does is to run Ghidra headless with the binary in question and then run a script in Ghidra to extract all necessary information for the analysis. One could also configure the call to Ghidra headless so that it uses an existing project as a basis and run the script for that project. One would have to modify the Ghidra invocation in src/cwe_checker_lib/src/utils/ghidra.rs accordingly (which should be easy).

However, this is only enough as long as you still use the binary as an additional input. Otherwise, you would need to rewrite the logic of parsing the RuntimeMemoryImage, so that it…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jmariasantosdekra
Comment options

@Enkelmann
Comment options

Answer selected by jmariasantosdekra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants