Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

analyze/invalid-cpp-box

This happens when cpp/box is malformed. It can also happen when it receives the wrong number of arguments or when the value cannot be boxed this way.

cpp/box must receive a raw pointer value. The pointed-to value must outlive the returned opaque box.

Mitigations

Call cpp/box with exactly one suitable pointer value.