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

Function printInt32BangDec

SStream.c:125–135  ·  view source on GitHub ↗

print number in decimal mode

Source from the content-addressed store, hash-verified

123
124// print number in decimal mode
125void printInt32BangDec(SStream *O, int32_t val)
126{
127 if (val >= 0)
128 SStream_concat(O, "#%u", val);
129 else {
130 if (val == INT_MIN)
131 SStream_concat(O, "#-%u", val);
132 else
133 SStream_concat(O, "#-%u", (uint32_t)-val);
134 }
135}
136
137void printInt32Bang(SStream *O, int32_t val)
138{

Callers 1

printShifterFunction · 0.85

Calls 1

SStream_concatFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…