fkie-cad / cwe_checker

cwe_checker finds vulnerable patterns in binary executables
https://docs.cwe-checker.io
GNU Lesser General Public License v3.0
1.1k stars 115 forks source link

cwe_checker run with error 'No loadable segments found' #352

Open chenjianquan7 opened 1 year ago

chenjianquan7 commented 1 year ago

cwe_checker execution failed: thread 'main' panicked at 'Error while generating runtime memory image: No loadable segments found', src/caller/src/main.rs:150:13

Enkelmann commented 1 year ago

I need more context to help you. ;-) For example, what kind of binary are you trying to analyze?

I am aware that this error gets generated if you try to analyze Linux kernel modules (.ko files) with the cwe_checker. Linux kernel modules are currently not supported by the cwe_checker. They are on the wish list of things I want to support, but implementing this needs some serious work. Unfortunately, I do not know whether I will have time to work on this anytime soon.