How do I use the results of WP in another plug-in?

岁酱吖の 提交于 2019-12-24 16:39:51

问题


I am working on writing a Frama-C plug-in and I would like to know if it is possible to get the weakest precondition of something using WP from within my plug-in, and if so, how exactly? In the past I've used Db.Value, for example, to use the results of the EVA plug-in in my own plug-in. Is there something similar to Db.Value for WP?


回答1:


The WP plugin exposes its API in the WP.mli file, that is generated by collecting the interfaces of the higher-level modules composing Wp. you can find it in src/plugins/wp/Wp.mli.

However, you should be aware that this API should not be considered stable, and non-backward compatible changes may be introduced in newer Frama-C versions.



来源:https://stackoverflow.com/questions/47541970/how-do-i-use-the-results-of-wp-in-another-plug-in

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!