MCPcopy Create free account
hub / github.com/HexHive/NASS / PrintASCIIByte

Function PrintASCIIByte

fuzz/libfuzzer/FuzzerUtil.cpp:38–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void PrintASCIIByte(uint8_t Byte) {
39 if (Byte == '\\')
40 Printf("\\\\");
41 else if (Byte == '"')
42 Printf("\\\"");
43 else if (Byte >= 32 && Byte < 127)
44 Printf("%c", Byte);
45 else
46 Printf("\\%03o", Byte);
47}
48
49void PrintASCII(const uint8_t *Data, size_t Size, const char *PrintAfter) {
50 for (size_t i = 0; i < Size; i++)

Callers 1

PrintASCIIFunction · 0.85

Calls 1

PrintfFunction · 0.70

Tested by

no test coverage detected