12 #define WIRE_LEN_DELIM 2
13 #define WIRE_START_GRP 3
14 #define WIRE_END_GRP 4
26 return "[START_GROUP]";
63 size_t bytes_read = 0;
76 eprintf(
"\ninvalid buffer pointer.\n");
79 eprintf(
"\nunknown wire id (%u).\n", wire);
105 const ut8 *pe = ps + var64;
148 eprintf(
"Invalid buffer pointer or size.\n");
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void count
static static sync static getppid static getegid const char static filename char static len const char char static bufsiz static mask static vfork const void static prot static getpgrp const char static swapflags static arg static fd static protocol static who struct sockaddr static addrlen static backlog struct timeval struct timezone static tz const struct iovec static count static mode const void const struct sockaddr static tolen const char static pathname void static offset struct stat static buf void long static basep static whence static length const void static len static semflg const void static shmflg const struct timespec struct timespec static rem const char static group const void start
RZ_API char * rz_protobuf_decode(const ut8 *start, const ut64 size, bool debug)
static const char * s_wire(const ut8 byte)
static void pad(RzStrBuf *sb, ut32 count)
static bool is_string(const ut8 *start, const ut8 *end)
static void decode_buffer(RzStrBuf *sb, const ut8 *start, const ut8 *end, ut32 padcnt, bool debug)
static void decode_array(RzStrBuf *sb, const ut8 *start, const ut8 *end)
RZ_API RZ_OWN char * rz_strbuf_drain(RzStrBuf *sb)
RZ_API RzStrBuf * rz_strbuf_new(const char *s)
RZ_API bool rz_strbuf_appendf(RzStrBuf *sb, const char *fmt,...) RZ_PRINTF_CHECK(2
RZ_API size_t read_u64_leb128(const ut8 *p, const ut8 *max, ut64 *out_val)
RZ_API size_t read_u32_leb128(const ut8 *p, const ut8 *max, ut32 *out_val)
ut64(WINAPI *w32_GetEnabledXStateFeatures)()