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