135 bool ignore_comma =
false;
144 if (
buf[
p] ==
',' && !ignore_comma) {
146 }
else if (
buf[
p] ==
'(') {
148 }
else if (
buf[
p] ==
')') {
149 ignore_comma =
false;
164 rz_list_foreach (tokens, it,
buf) {
177 .desc =
"SH-4 pseudo syntax",
181 #ifndef RZ_PLUGIN_INCORE
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 length
RZ_API void Ht_() free(HtName_(Ht) *ht)
#define RZ_PSEUDO_DEFINE_REPLACE(x, y, f)
static bool rz_pseudo_convert(const RzPseudoConfig *config, const char *assembly, RzStrBuf *sb)
#define RZ_PSEUDO_DEFINE_CONFIG_NO_DIRECT(l, r, m, t)
#define RZ_PSEUDO_DEFINE_GRAMMAR(x, y)
static const RzPseudoConfig sh_config
RzParsePlugin rz_parse_plugin_sh_pseudo
RZ_API RzLibStruct rizin_plugin
static const RzPseudoGrammar sh_lexicon[]
static bool parse(RzParse *parse, const char *assembly, RzStrBuf *sb)
static const RzPseudoReplace sh_replace[]
static RzList * sh_tokenize(const char *assembly, size_t length)
RZ_API char * rz_str_ndup(RZ_NULLABLE const char *ptr, int len)
Create new copy of string ptr limited to size len.
RZ_API RzList * rz_str_split_duplist(const char *str, const char *c, bool trim)
Split the string str according to the substring c and returns a RzList with the result.
RZ_API char * rz_str_replace(char *str, const char *key, const char *val, int g)