Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add function prototypes for exported functions to CBMC proof harnesses #112

Merged

Conversation

markrtuttle
Copy link
Member

The commit adds function protocols to CBMC proof harnesses for static functions exported with --export-file-local-symbols. Prior to this commit, the harnesses were invoking the static function by its mangled name without declaring the mangled named, the compiler was inferring a default type for the declaration that conflicted with the type of the definition, and the linker was silently refusing to update the symbol table with the definition due to the type conflict.

@markrtuttle markrtuttle force-pushed the proof-static-function-prototypes branch from d9428ca to 2a0f410 Compare September 5, 2021 17:15
@markrtuttle markrtuttle marked this pull request as ready for review September 5, 2021 17:31
@markrtuttle markrtuttle requested a review from yourslab September 5, 2021 17:31
@yourslab yourslab merged commit 2094d25 into FreeRTOS:main Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants