MCPcopy Create free account
hub / github.com/GJDuck/e9patch / parseOptions

Function parseOptions

src/e9patch/e9api.cpp:41–52  ·  view source on GitHub ↗

* Parse & handle options. */

Source from the content-addressed store, hash-verified

39 * Parse & handle options.
40 */
41static void parseOptions(Binary *B, char * const *argv)
42{
43 parseOptions(argv, /*api=*/true);
44 switch (B->mode)
45 {
46 case MODE_ELF_EXE: case MODE_ELF_DSO:
47 B->config = option_loader_base; break;
48 default:
49 break;
50 }
51 targetAnalysis(B);
52}
53
54/*
55 * Flush the patching queue up to the new cursor.

Callers 2

queueFlushFunction · 0.70
parseMessageFunction · 0.70

Calls 2

targetAnalysisFunction · 0.85
errorFunction · 0.85

Tested by

no test coverage detected