98 const char *comma_replace =
NULL;
111 }
else if (
buf[
p + 1] ==
' ') {
116 }
else if (
buf[
p] ==
'(') {
118 comma_replace =
", ";
119 }
else if (
buf[
p] ==
')') {
143 rz_list_foreach (tokens, it,
buf) {
156 .
name =
"z80.pseudo",
157 .desc =
"z80 pseudo syntax",
163 #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)
RZ_API ut32 rz_list_set_n(RZ_NONNULL RzList *list, ut32 n, void *p)
Sets the N-th element of the list.
RZ_API RZ_BORROW void * rz_list_first(RZ_NONNULL const RzList *list)
Returns the first element of the list.
RZ_API RZ_BORROW void * rz_list_get_n(RZ_NONNULL const RzList *list, ut32 n)
Returns the N-th element of the list.
RZ_API ut32 rz_list_length(RZ_NONNULL const RzList *list)
Returns the length of the list.
static bool rz_pseudo_convert(const RzPseudoConfig *config, const char *assembly, RzStrBuf *sb)
#define RZ_PSEUDO_DEFINE_GRAMMAR(x, y)
#define RZ_PSEUDO_DEFINE_CONFIG_ONLY_LEXICON(l, m, t)
RZ_API RzLibStruct rizin_plugin
static RzList * z80_tokenize(const char *assembly, size_t length)
RzParsePlugin rz_parse_plugin_z80_pseudo
static bool parse(RzParse *parse, const char *assembly, RzStrBuf *sb)
static const RzPseudoConfig z80_config
static const RzPseudoGrammar z80_lexicon[]
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)