#pragma generate_entry_without_bounds
Syntax
#pragma generate_entry_without_bounds
Description
Use this pragma directive to enable generation of an extra entry without bounds for the immediately following function. This extra entry (function) can be called from code which is not instrumented for bounds checking. It takes no extra hidden parameters, and does not add any information about bounds for returned pointers. Any pointers passed into such a function are given bounds that will cause an error for any access. If you use ‑‑ignore_uninstrumented_pointers, the given bounds will not cause errors.
Warning
It is an error to use this pragma directive on a function where no such entry can be generated. This includes functions that take a variable number of arguments, and functions that take one or more function pointers to functions that take or return values that contain pointers.
It is not an error to use this pragma directive on a function that does not need such an entry (because it takes no pointers, or because it is declared with #pragma no_bounds). In this case, no extra entry is generated.
See also
Detecting accesses outside the bounds of arrays and other objects.