MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / myexit

Function myexit

src/libfuzzer_client.cpp:226–228  ·  view source on GitHub ↗

We have to wrap exit with our own because Clang has a hard time with function pointers to functions with special attributes (system exit being marked NORETURN)

Source from the content-addressed store, hash-verified

224// We have to wrap exit with our own because Clang has a hard time with
225// function pointers to functions with special attributes (system exit being marked NORETURN)
226void myexit(int return_val) {
227 exit(return_val);
228}
229
230void interactive(chaiscript::ChaiScript_Basic& chai)
231{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected