MCPcopy Create free account
hub / github.com/capstone-engine/capstone / print_string_hex

Function print_string_hex

tests/test_m68k.c:20–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18static csh handle;
19
20static void print_string_hex(const char* comment, unsigned char* str, size_t len)
21{
22 unsigned char *c;
23
24 printf("%s", comment);
25 for (c = str; c < str + len; c++) {
26 printf("0x%02x ", *c & 0xff);
27 }
28
29 printf("\n");
30}
31
32const char* s_addressing_modes[] = {
33 "<invalid mode>",

Callers 1

testFunction · 0.70

Calls 1

printfFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…