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

Function cs_snprintf

utils.c:48–58  ·  view source on GitHub ↗

we need this since Windows doesn't have snprintf()

Source from the content-addressed store, hash-verified

46
47// we need this since Windows doesn't have snprintf()
48int cs_snprintf(char *buffer, size_t size, const char *fmt, ...)
49{
50 int ret;
51
52 va_list ap;
53 va_start(ap, fmt);
54 ret = cs_vsnprintf(buffer, size, fmt, ap);
55 va_end(ap);
56
57 return ret;
58}
59
60bool arr_exist8(unsigned char *arr, unsigned char max, unsigned int id)
61{

Callers 4

skipdata_opstrFunction · 0.85
printTypedVectorListFunction · 0.85

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…