-
Notifications
You must be signed in to change notification settings - Fork 41
CBMC: Unify listings of used functions #1471
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
base: main
Are you sure you want to change the base?
Conversation
8009cd9 to
af1cd1e
Compare
mkannwischer
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning this up - I appreciate switching everything to USED_FUNCTIONS +=.
However, I think the indirect addition of mlk_ is unnecessary. I'd like to be able to copy&past function names. Do you mind removing that again?
This is only possible because Note that the convenience you seek could be retained by using |
This commit unifies the listing of functions called by contract to the format ``` USED_FUNCTIONS = foo USED_FUNCTIONS += bar0 USED_FUNCTIONS += bar1 ... USE_FUNCTION_CONTRACTS=$(addprefix $(NAMESPACE_PREFIX),$(USED_FUNCTIONS)) ``` This makes it easier to - see what is being used, - add/remove functions - change the namespace prefix Signed-off-by: Hanno Becker <[email protected]>
Signed-off-by: Hanno Becker <[email protected]>
Signed-off-by: Hanno Becker <[email protected]>
af1cd1e to
fe2da83
Compare
|
I marked this as Draft while experimenting how close this PR actually brings us to being able to change the symbol namespace. |
This commit unifies the listing of functions called by contract to the format
This makes it easier to