mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-28 15:41:38 +00:00
Fix capstone3 build regression introduced in 7722c0ae84
(#7020)
This commit is contained in:
parent
5a4c18f49a
commit
d9d5f79278
@ -72,7 +72,9 @@ static void opex(RStrBuf *buf, csh handle, cs_insn *insn) {
|
||||
r_strbuf_append (buf, ",");
|
||||
}
|
||||
r_strbuf_appendf (buf, "{\"size\":%d", op->size);
|
||||
#if CS_API_MAJOR >= 4
|
||||
r_strbuf_appendf (buf, ",\"rw\":%d", op->access); // read , write, read|write
|
||||
#endif
|
||||
switch (op->type) {
|
||||
case X86_OP_REG:
|
||||
r_strbuf_appendf (buf, ",\"type\":\"reg\"");
|
||||
|
Loading…
Reference in New Issue
Block a user