Debian Codegraph @

SStream.h

raw symbols SCIP
1 /* Capstone Disassembly Engine */cxx . . $ `<file>/SStream.h`/
2 /* By Nguyen Anh Quynh <[email protected]>, 2013-2019 */
3
4 #ifndef CS_SSTREAM_H_
5 #define CS_SSTREAM_H_cxx . . $ `SStream.h:5:9`!
6
7 #include "include/capstone/platform.h"cxx . . $ `<file>/include/capstone/platform.h`/
8
9 #define SSTREAM_BUF_LENcxx . . $ `SStream.h:9:9`! 512
10
11 #define SSTREAM_OVERFLOW_CHECKcxx . . $ `SStream.h:11:9`!(OS, len) \
12 do { \
13 if (OS->index + len + 1 > SSTREAM_BUF_LEN) { \
14 fprintf(stderr, "Buffer overflow caught!\n"); \
15 return; \
16 } \
17 } while (0)
18
19 typedef struct SStreamcxx . . $ SStream# {
20 char buffercxx . . $ SStream#buffer.[SSTREAM_BUF_LENcxx . . $ `SStream.h:9:9`!];
21 int indexcxx . . $ SStream#index.;
22 } SStreamcxx . . $ SStream#;
23
24 void SStream_Initcxx . . $ SStream_Init(6fb1d15c8294cb37).(SStreamcxx . . $ SStream# *ss);
25
26 void SStream_concatcxx . . $ SStream_concat(72515e07697b04b4).(SStreamcxx . . $ SStream# *ss, const char *fmt, ...);
27
28 void SStream_concat0cxx . . $ SStream_concat0(a720692b9b1c0c27).(SStreamcxx . . $ SStream# *ss, const char *s);
29
30 void SStream_concat1cxx . . $ SStream_concat1(1d48f8b1fa4749c8).(SStreamcxx . . $ SStream# *ss, const char c);
31
32 void printInt64Bangcxx . . $ printInt64Bang(d5b67dadd92627cf).(SStreamcxx . . $ SStream# *O, int64_tcxx . . $ int64_t# val);
33
34 void printUInt64Bangcxx . . $ printUInt64Bang(b8e8c809409ad2ab).(SStreamcxx . . $ SStream# *O, uint64_tcxx . . $ uint64_t# val);
35
36 void printInt64cxx . . $ printInt64(d5b67dadd92627cf).(SStreamcxx . . $ SStream# *O, int64_tcxx . . $ int64_t# val);
37 void printUInt64cxx . . $ printUInt64(b8e8c809409ad2ab).(SStreamcxx . . $ SStream# *O, uint64_tcxx . . $ uint64_t# val);
38
39 void printInt32Bangcxx . . $ printInt32Bang(42251ac09f06cabf).(SStreamcxx . . $ SStream# *O, int32_tcxx . . $ int32_t# val);
40
41 void printInt32cxx . . $ printInt32(42251ac09f06cabf).(SStreamcxx . . $ SStream# *O, int32_tcxx . . $ int32_t# val);
42
43 void printUInt32Bangcxx . . $ printUInt32Bang(2cfdcacebbcb5657).(SStreamcxx . . $ SStream# *O, uint32_tcxx . . $ uint32_t# val);
44
45 void printUInt32cxx . . $ printUInt32(2cfdcacebbcb5657).(SStreamcxx . . $ SStream# *O, uint32_tcxx . . $ uint32_t# val);
46
47 // print number in decimal mode
48 void printInt32BangDeccxx . . $ printInt32BangDec(42251ac09f06cabf).(SStreamcxx . . $ SStream# *O, int32_tcxx . . $ int32_t# val);
49
50 #endif