On Thu, Dec 16, 2021 at 4:32 PM Hao Luo <haoluo@xxxxxxxxxx> wrote: > + > + if (t == BPF_WRITE && rdonly_mem) { > + verbose(env, "R%d cannot write into rdonly %s\n", > + regno, reg_type_str(env, reg->type)); > + return -EACCES; I've removed "rdonly" from above, since it's part of reg_type_str(), while applying.