Can we run value analysis in Frama-C on a C file that does not have the main function?

StackOverflow https://stackoverflow.com/questions/17734333

  •  03-06-2022
  •  | 
  •  

When running Frama-C on a C file without the main function, I got errors. Is there any option to run Frama-C value analysis on such C files?

有帮助吗?

解决方案

Chapter 6 of the user manual, which discusses global analysis options, answers your question. Unsurprisingly, the relevant option is called -main...

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top