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

Function SStream_concat

SStream.c:53–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53void SStream_concat(SStream *ss, const char *fmt, ...)
54{
55#ifndef CAPSTONE_DIET
56 va_list ap;
57 int ret;
58
59 va_start(ap, fmt);
60 ret = cs_vsnprintf(ss->buffer + ss->index, sizeof(ss->buffer) - (ss->index + 1), fmt, ap);
61 va_end(ap);
62 if (ret < 0) {
63 return;
64 }
65 SSTREAM_OVERFLOW_CHECK(ss, ret);
66 ss->index += ret;
67#endif
68}
69
70// print number with prefix #
71void printInt64Bang(SStream *O, int64_t val)

Callers 15

printInt64BangFunction · 0.85
printUInt64BangFunction · 0.85
printInt64Function · 0.85
printUInt64Function · 0.85
printInt32BangDecFunction · 0.85
printInt32BangFunction · 0.85
printInt32Function · 0.85
printUInt32BangFunction · 0.85
printUInt32Function · 0.85
printRegImmShiftFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…