Closed
Description
RMC is starting to use CBMC function pointer restrictions.
We have found CBMC's naming convention for identifying specific function pointer calls (indexed based on static placement, documented here) to be difficult to use without introducing wrapper functions. It would be helpful if we could specify call sites using C labels instead:
That is, we would like to be able to use "call_f" : [...], "call_g": [...]
instead of "surrounding_fn.function_pointer_call.1" : [...], "surrounding_fn.function_pointer_call.2": [...]
for this example:
void surrounding_fn(..) {
call_f: (*f)(x);
call_g: (*g)(y);
}