Skip to content

6.1.8 fails to build: plugin_zydis.c: error: 'const struct ZydisDecodedOperandMemDisp_' has no member named 'has_displacement' #26312

Description

@barracuda156

Someone again has broken about zydis:

:info:build p/x86/plugin_zydis.c: In function 'is_mem_abs':
:info:build p/x86/plugin_zydis.c:149:32: error: 'const struct ZydisDecodedOperandMemDisp_' has no member named 'has_displacement'
:info:build   149 |                 && op->mem.disp.has_displacement;
:info:build       |                                ^
:info:build p/x86/plugin_zydis.c: In function 'is_mem_riprel':
:info:build p/x86/plugin_zydis.c:155:32: error: 'const struct ZydisDecodedOperandMemDisp_' has no member named 'has_displacement'
:info:build   155 |                 && op->mem.disp.has_displacement;
:info:build       |                                ^
:info:build p/x86/plugin_zydis.c: In function 'set_mem_ref':
:info:build p/x86/plugin_zydis.c:319:33: error: 'const struct ZydisDecodedOperandMemDisp_' has no member named 'has_displacement'
:info:build   319 |         } else if (mop->mem.disp.has_displacement) {
:info:build       |                                 ^
:info:build p/x86/plugin_zydis.c: In function 'memaddr_esil':
:info:build p/x86/plugin_zydis.c:500:25: error: 'const struct ZydisDecodedOperandMemDisp_' has no member named 'has_displacement'
:info:build   500 |         if (op->mem.disp.has_displacement && op->mem.disp.value) {
:info:build       |                         ^
:info:build p/x86/plugin_zydis.c: In function 'set_op_type':
:info:build p/x86/plugin_zydis.c:1131:49: error: 'const struct ZydisDecodedOperandMemDisp_' has no member named 'has_displacement'
:info:build  1131 |                                 && op1->mem.disp.has_displacement) {
:info:build       |                                                 ^
:info:build make[5]: *** [p/x86/plugin_zydis.o] Error 1
:info:build make[5]: *** Waiting for unfinished jobs....

Configure summary:

:info:configure Final report:
:info:configure  - BUILD = powerpc-apple-darwin
:info:configure  - CC = /opt/local/bin/gcc-mp-16
:info:configure  - CFLAGS = -pipe -I/opt/local/libexec/openssl3/include -Os -arch ppc
:info:configure  - DEBUGGER = 1
:info:configure  - HAVE_ARC4RANDOM_UNIFORM = 0
:info:configure  - HAVE_EXPLICIT_BZERO = 0
:info:configure  - HAVE_EXPLICIT_MEMSET = 0
:info:configure  - HAVE_FORK = 1
:info:configure  - HAVE_GPERF = 1
:info:configure  - HAVE_LIBUV = 1
:info:configure  - HAVE_LIB_GMP = 0
:info:configure  - WANT_DEBUGSTUFF = 1
:info:configure  - HAVE_OPENSSL = 1
:info:configure  - WANT_SSL_CRYPTO = 1
:info:configure  - HAVE_PTRACE = 1
:info:configure  - HOST = powerpc-apple-darwin
:info:configure  - LDFLAGS = -L/opt/local/libexec/openssl3/lib -Wl,-headerpad_max_install_names -L/opt/local/lib -lMacportsLegacySupport -arch ppc
:info:configure  - LIBVERSION = 6.1.8
:info:configure  - PKGCONFIG = /opt/local/bin/pkg-config
:info:configure  - PREFIX = /opt/local
:info:configure  - R_CHECKS_LEVEL = 2
:info:configure  - TARGET = powerpc-apple-darwin
:info:configure  - USERCC = gcc
:info:configure  - USEROSTYPE = darwin
:info:configure  - USE_CAPSTONE = 1
:info:configure  - USE_LIB_MAGIC = 1
:info:configure  - USE_SQSH = 0
:info:configure  - USE_LIB_XXHASH = 1
:info:configure  - USE_LIB_ZIP = 1
:info:configure  - USE_PTRACE_WRAP = 0
:info:configure  - USE_SYSLZ4 = 1
:info:configure  - VERSION = 6.1.8
:info:configure  - WANT_DYLINK = 1
:info:configure  - USE_LIB_ATOMIC = 0
:info:configure  - HAVE___ATOMIC_FETCH_ADD_8 = 0
:info:configure  - FORCE_LIB_ATOMIC = 1
:info:configure  - WANT_QJS = 1
:info:configure  - WANT_ZYDIS = 1
:info:configure  - USE_ZYDIS = 1
:info:configure  - USE_SYS_ZYDIS = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions