MCPcopy Create free account
hub / github.com/QBDI/QBDI / writeCString

Function writeCString

tools/validator/pipes.cpp:38–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38int writeCString(const char *str, FILE *pipe) {
39 size_t len = strlen(str) + 1;
40 if (fwrite((void *)str, 1, len, pipe) != len) {
41 return 0;
42 }
43 return 1;
44}
45
46int readInstructionEvent(QBDI::rword *address, char *mnemonic,
47 size_t mnemonic_len, char *disassembly,

Callers 1

writeInstructionEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected