Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.231.130 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796100101; b=LPbKzvLGufTR7xKuGT+CvUdFzgbaxgxskEpWm5UBtPwwJYPr4G70KZ5mdVsTeZ47lDXW ZtnNY0rq26flyoNw/otNGNuqA8cT96OTDqqK6YC5DTc5Er7S9c6JCy5ukUZ0LF/Byo6gP UJM5YW4+0SpxE1vp0OV/2i2uP7XrF+cdfz1cg0E64QMKfsjifG39aooanfGbgfsOkxlzK uErdMd7Q4JLMJMiYnFO0J7YXY0WYm7iAEH/U+KomKoYhT/eZphTOqBuprfrYDHBoSO9ak 6FQca8SSU1jP5OBM49MdBVlffzdUqrJP5yAeFeNtQk115jLlSzHbNC74AcaQLegsNDA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796100101; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:In-Reply-To:References:MIME-Version: X-Developer-Signature:X-Developer-Key:Content-Transfer-Encoding; bh=FB5rWcZowkKNwm3K/M6CbxFOwRR4SgfpiUSIl5xoLU4=; b=gvBgoYcbVWSOm0eKU2qIaJwp5OSaqk+gCSOW9vqa/N2ysAHD6dXaY1J7iA7dpgfujKio BKotZ4AVa2Bw8txmNZl2Ph+lf6V/89iLLVzIZrTzboRrX+95ZxOvdjSwspuS2PN+zHiSq asxuQps6UPTPoTU8xfrGjoG5iYNEqHjSuY8xUwF8HOfvRfN8Vd3eoRTrH5EjTuzjmo2el mqc264NjOdi61YJnAhh4H8Pxa9nhUj8C+aXs7AoGnwtuyx+J6KpQ3nmnvBGu3p+0iqr2z INm+/wRA4dDbDPj4S31RO8lsNPlHMygjsNpfqe7JIVT+TM6oOBm1lY8pagyca7m6mOA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=aRFieutk; arc=none smtp.remote-ip=74.125.231.130 Received: from mail-oo2-f2.google.com (mail-oo2-f2.google.com [74.125.231.130]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72CE1606A320 for ; Tue, 1 Dec 2026 04:41:41 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 72CE1606A320 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=aRFieutk Received: by mail-oo2-f2.google.com with SMTP id 46e09a7af769-862a50e0f92so1882948a34.1 for ; Mon, 30 Nov 2026 20:41:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796100100; x=1796704900; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=FB5rWcZowkKNwm3K/M6CbxFOwRR4SgfpiUSIl5xoLU4=; b=aRFieutkidWpstzJ+1GkYXjlQTVNdqK4wvOZbmgepzLHfI7jiZAXmacUFYrUnX08vQ nkr7pysHsOn/8HYqpJhJnGZuxVPnDxqpRgTilrMdowxKFpWK86pj+kiQxq+6538xa5Bt oW+0ecicWRRfV28DEPIckFVEMMEfIunIH0Nwj5lMuZXAZQXc42FTLyXq/46zpUqdA8kZ Gp+XPbNMnG2nf7CswHh0pR9hlCpqPDPIiUcYsogZLd0VwpZEYhw7lipyj7is6FduaA+2 THMngxMEn/aaZbsluAfK3t7LKwIz80dB3BHlZlkOYRoJAen1W37JJNaQt+UlXBfpSSWO 0JCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796100100; x=1796704900; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=FB5rWcZowkKNwm3K/M6CbxFOwRR4SgfpiUSIl5xoLU4=; b=Zfyjq33tuZVzQK8KCI59e/nFGr9ysjaz9jP2dYAC2oXkea3TQDPs0xI5fA7tSFXxwC Ls7SazdN1YTZMhZwZctSuN719yNCdt4aH9dJMwuuckZ5YbTR4iQ0BgP+ybaaX6D+HnU3 jOVAISbN3uENzdMq/oyGsY26u+2jgY3XCEZWEA5yEgyCC3R/PNSF3EZyBgFBhoc/1V2d RCws98LVGPcZP3JqQ1Plj5wQIt8k2ETHZ5PY1I5WCQMDfG4aPGx/yloBjbUaEGVDThfR i+dhWL71cpzeUTBRPNSJJDfAnMQkfKz30bpWHWFo3TxV/2qJ75ipgC4hITO+wzKB7iys 6vxA== X-Gm-Message-State: APuU4Z8vj3ACW59S9LbxECxr6Vecy+j37r9RMHqKj4QCW5HX+522a/dd ueLu2zat8NkEX+sXVJ8GeH+BcbuUv5TzAHHc/OEO54Mt3+bHF5Nt+xU9uJLSqgcIvFc= X-Gm-Gg: AZFdTZcq6lXJp8gOaa9XZoVXF/ueKBcCAC2fFsaiykYYJvMKk6S6mHiPyIzBI5JVJvj WDxJSy6bNLmETcjAVKeJUiSQa1sa9dhvOWkZ8R3MtbBeF33rCzO4dUdOJEUVxG/HCvV7zlk4IcX y8rmzNahAzKK2VRY+DVA5CT85xrMFvXmHu+5KmC+wMfk3GFP8CvdEo1fyW+ZA8q3QuGfHFU2aiP tVA1/9io4fLUSuF7Sd53CWpjryXv2HW2/MrjQEvTw+m7GufvluXrjrlep8sqYi7Xz9ZIyLW0AiH ST17W6p37ErAFYQHrXHiGPoMQeAlXfGPDJImTbf6Mpy8VWgImYr1NnkcP4oldq/FvsVvV3UM6LF KkZ9Ah5Rdt2U4zAcYHKRPxaxxcHBPbYqKpVrK75UB6RYXxpyRiAZ3+SctHwVNELP62C4qbDW6+W /Xg7mcsQQUUTWaX20di9n3hn9XfXx88KLhF5JiZCzYYWxRP9ENyRwbJ9ofXfoWp3Y5dY3xw86tn vEiu9TDIlHZEP2Bo5A3QYS8obSicJT2kQ2YGHiIkbEfKXEaQNpfJXO1pf722Qw0ZIGvF1jnGtRY MEQV2+Uug9pDXXmI+qc9NpJk7fqFwIsoI4H3/0wQIRQAvmbB+9lFdo7vX4KGNEm6Yzk6srEruiM vF03oFUPDVwmLbnH6yKtXXUmxE0BzkZXXStE= X-Received: by 2002:a05:6830:7181:b0:804:d4b0:a36 with SMTP id 46e09a7af769-86315922242mr38988212a34.27.1796100100518; Mon, 30 Nov 2026 20:41:40 -0800 (PST) Received: from localhost ([2a03:2880:10ff:c::]) by smtp.gmail.com with ESMTPSA id 46e09a7af769-863168f6d9asm26640864a34.17.2026.11.30.20.41.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2026 20:41:39 -0800 (PST) From: Kumar Kartikeya Dwivedi To: bpf@vger.kernel.org Cc: Alexei Starovoitov , Andrii Nakryiko , Daniel Borkmann , Eduard Zingerman , Emil Tsalapatis , Ihor Solodrai , kkd@meta.com, kernel-team@meta.com Subject: [PATCH bpf-next v1 32/73] bpf: Give unwind_goto a 32 bit offset and prepare it for arena accesses Date: Tue, 1 Dec 2026 05:38:59 +0100 Message-ID: <2a69678e18dae2f7cecaeca35a5c461c6989de42.1796099737.git.memxor@gmail.com> X-Mailer: git-send-email 2.53.1 In-Reply-To: References: X-Mailing-List: bpf@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=12419; i=memxor@gmail.com; h=from:subject:message-id; bh=XJWosvxNXqXf+3RBwTiO6CaeljIZns4pfwcHpqLw6MM=; b=owGbwMvMwCXmrmtenRyi38x4Wi2JIZvPb/4fKykzlxTLLTandvnOf9rydXrMlh/XUpeymS/TqPlZ vS6so5SFQYyLQVZMkaXk/z4m4xOVvwNtl3HDzGFlAhnCwMUpABOxOMPIMGnjrTuCF6uPqTHwXijRWT n1+b09dUcCGmpvM7NcDSq04mX4H51mnL9awv8Yk7bJrueb0yo9PefeuMbP1TXXwMY6ZIMXFwA= X-Developer-Key: i=memxor@gmail.com; a=openpgp; fpr=B34BD741DE8494B76E2F717880EF20021D46C59B Content-Transfer-Encoding: 8bit From: Alexei Starovoitov Currently a program that faults in an access to arena continues: the fault handler skips the access. The kernel is going to cancel the program there instead. An access to arena will get an unwind_goto after it, like a call, and a fault will go to the landing pad that the unwind_goto names. Nothing emits unwind_goto after an access yet. Three things have to change first. unwind_goto has 16 bits for its offset. A landing pad stands after the last insn of its function, so it can be more than 32767 insns away. The patch list then relaxes unwind_goto like any conditional jump: today with this change call foo call foo unwind_goto +1 ---. unwind_goto pad goto +1 | r6 = r0 gotol pad <-------' r6 = r0 unwind_goto itself is no code, only an exception table entry. 'goto +1' is code that runs each time the call returns, and after an access to arena it would run at each access. Add a second form of the insn: BPF_JMP32 | BPF_JCOND with BPF_UNWIND_GOTO in src_reg and the offset in imm, as in gotol. The unwind_goto that the verifier adds has this form, and bpf_jmp_offset() returns the offset of either form. A program cannot use the new form: the verifier rejects it with "unknown opcode e6". The unwind_goto of a program keeps its 16 bits. The pass that zero extends 32 bit results appends insns to the insn that writes the result, such as 'w0 = w0' after a cmpxchg. They would stand between an access and its unwind_goto. A JIT keys the exception table entry of unwind_goto at the end of the native code of the insn before it, so a fault in the access would not find the entry, and the access would be skipped. Put the appended insns after unwind_goto. The landing pad does not need them: an access that faults has not written the register. jit_subprogs() counts the exception table entries of unwind_goto, but it runs only for a program with subprogs. An access to arena needs no callee, and a program of one function would fail to load. Count unwind_goto in bpf_convert_ctx_accesses() as well. Signed-off-by: Alexei Starovoitov Signed-off-by: Kumar Kartikeya Dwivedi --- arch/arm64/net/bpf_jit_comp.c | 5 +++-- arch/x86/net/bpf_jit_comp.c | 6 ++++-- include/linux/bpf_verifier.h | 1 - include/linux/filter.h | 14 +++++++++++++- kernel/bpf/core.c | 4 ++-- kernel/bpf/disasm.c | 4 ++++ kernel/bpf/fixups.c | 28 +++++++++++++++++++++++----- kernel/bpf/liveness.c | 9 --------- 8 files changed, 49 insertions(+), 22 deletions(-) diff --git a/arch/arm64/net/bpf_jit_comp.c b/arch/arm64/net/bpf_jit_comp.c index fe41871e3d1c..00667ce5303c 100644 --- a/arch/arm64/net/bpf_jit_comp.c +++ b/arch/arm64/net/bpf_jit_comp.c @@ -1768,7 +1768,7 @@ static int build_landings(struct jit_ctx *ctx) } k++; emit(A64_MOV(1, bpf2a64[BPF_REG_0], A64_R(0)), ctx); - jmp_offset = ctx->offset[i + 1 + insn->off] - ctx->idx; + jmp_offset = ctx->offset[i + 1 + bpf_jmp_offset(insn)] - ctx->idx; check_imm26(jmp_offset); emit(A64_B(jmp_offset), ctx); } @@ -2455,9 +2455,10 @@ static int build_insn(const struct bpf_verifier_env *env, const struct bpf_insn break; /* unwind_goto. The verifier expanded may_goto. */ case BPF_JMP | BPF_JCOND: + case BPF_JMP32 | BPF_JCOND: { int ret_addr = ctx->idx - 1; - int target = ctx->offset[i + 1 + off]; + int target = ctx->offset[i + 1 + bpf_jmp_offset(insn)]; /* * 'bl foo; mov x8, x0' is in front. After the call of a subprog diff --git a/arch/x86/net/bpf_jit_comp.c b/arch/x86/net/bpf_jit_comp.c index 4a934bab9c79..4d4dd004df20 100644 --- a/arch/x86/net/bpf_jit_comp.c +++ b/arch/x86/net/bpf_jit_comp.c @@ -3491,9 +3491,11 @@ static int do_jit(struct bpf_verifier_env *env, struct bpf_prog *bpf_prog, int * /* unwind_goto. The verifier expanded may_goto. */ case BPF_JMP | BPF_JCOND: + case BPF_JMP32 | BPF_JCOND: if (!after_call_len) { err = add_unwind_exentry(bpf_prog, image, rw_image, &excnt, - addrs[i - 1], addrs[i + insn->off]); + addrs[i - 1], + addrs[i + bpf_jmp_offset(insn)]); if (err) return err; break; @@ -3515,7 +3517,7 @@ static int do_jit(struct bpf_verifier_env *env, struct bpf_prog *bpf_prog, int * EMIT2(0xEB, after_call_len + 5); memcpy(prog, after_call, after_call_len); prog += after_call_len; - EMIT1_off32(0xE9, addrs[i + insn->off] - + EMIT1_off32(0xE9, addrs[i + bpf_jmp_offset(insn)] - (addrs[i - 1] + 2 + after_call_len + 5)); break; diff --git a/include/linux/bpf_verifier.h b/include/linux/bpf_verifier.h index 79b0d5f7d4fa..f03ecb8fe288 100644 --- a/include/linux/bpf_verifier.h +++ b/include/linux/bpf_verifier.h @@ -2585,7 +2585,6 @@ const char *bpf_disasm_kfunc_name(void *data, const struct bpf_insn *insn); struct bpf_subprog_info *bpf_find_containing_subprog(struct bpf_verifier_env *env, int off); const char *bpf_subprog_name(const struct bpf_verifier_env *env, int subprog); -int bpf_jmp_offset(struct bpf_insn *insn); struct bpf_iarray *bpf_insn_successors(struct bpf_verifier_env *env, u32 idx); bool bpf_subprog_is_global(const struct bpf_verifier_env *env, int subprog); diff --git a/include/linux/filter.h b/include/linux/filter.h index 5e30a4e70660..5e71c55f3307 100644 --- a/include/linux/filter.h +++ b/include/linux/filter.h @@ -295,9 +295,21 @@ static inline bool insn_is_mov_percpu_addr(const struct bpf_insn *insn) .off = 0, \ .imm = 1 }) +/* gotol, and unwind_goto that the verifier adds, have 32 bits for the offset */ +static inline bool bpf_jmp_offset_is_imm(const struct bpf_insn *insn) +{ + return insn->code == (BPF_JMP32 | BPF_JA) || insn->code == (BPF_JMP32 | BPF_JCOND); +} + +static inline int bpf_jmp_offset(const struct bpf_insn *insn) +{ + return bpf_jmp_offset_is_imm(insn) ? insn->imm : insn->off; +} + static inline bool bpf_is_unwind_goto(const struct bpf_insn *insn) { - return insn->code == (BPF_JMP | BPF_JCOND) && insn->src_reg == BPF_UNWIND_GOTO; + return (insn->code == (BPF_JMP | BPF_JCOND) || insn->code == (BPF_JMP32 | BPF_JCOND)) && + insn->src_reg == BPF_UNWIND_GOTO; } static inline bool bpf_is_unwind_exit(const struct bpf_insn *insn) diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index 87262e4d4c0c..737db347de97 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -399,8 +399,8 @@ static bool insn_get_rel(const struct bpf_insn *insn, s64 *rel, bool *is_imm) code == (BPF_JMP | BPF_TAIL_CALL) || code == (BPF_JMP | BPF_JA | BPF_X)) return false; - *is_imm = code == (BPF_JMP32 | BPF_JA); - *rel = *is_imm ? insn->imm : insn->off; + *is_imm = bpf_jmp_offset_is_imm(insn); + *rel = bpf_jmp_offset(insn); return true; } diff --git a/kernel/bpf/disasm.c b/kernel/bpf/disasm.c index 2e377a7ea262..43aa0656a588 100644 --- a/kernel/bpf/disasm.c +++ b/kernel/bpf/disasm.c @@ -404,6 +404,10 @@ void print_bpf_insn(const struct bpf_insn_cbs *cbs, insn->src_reg == BPF_UNWIND_GOTO) { verbose(cbs->private_data, "(%02x) unwind_goto pc%+d", insn->code, insn->off); + } else if (insn->code == (BPF_JMP32 | BPF_JCOND) && + insn->src_reg == BPF_UNWIND_GOTO) { + verbose(cbs->private_data, "(%02x) unwind_goto pc%+d", + insn->code, insn->imm); } else if (insn->code == (BPF_JMP32 | BPF_JA)) { verbose(cbs->private_data, "(%02x) gotol pc%+d", insn->code, insn->imm); diff --git a/kernel/bpf/fixups.c b/kernel/bpf/fixups.c index b3a7f739bde1..89a6bd52ef35 100644 --- a/kernel/bpf/fixups.c +++ b/kernel/bpf/fixups.c @@ -738,10 +738,13 @@ static int collect_pads(struct bpf_verifier_env *env, int s, struct bpf_insn *ne * between a call and its unwind_goto, and jumps to the insn that follows the call go past it. * The pads are in the program: a call that has may_goto before it would need two jumps of one * patch, see bpf_patch_list_jump(). @added: how many insns the pads after each subprog have. + * + * unwind_goto is no code, the jumps that take a conditional jump to a target that is too far for + * 16 bits would be, see patch_image_relax(). So it has 32 bits for the offset. */ static int insert_unwind_gotos(struct bpf_verifier_env *env, const int *added) { - struct bpf_insn unwind_goto = BPF_RAW_INSN(BPF_JMP | BPF_JCOND, 0, BPF_UNWIND_GOTO, 0, 0); + struct bpf_insn unwind_goto = BPF_RAW_INSN(BPF_JMP32 | BPF_JCOND, 0, BPF_UNWIND_GOTO, 0, 0); struct bpf_insn_aux_data *aux = env->insn_aux_data; struct bpf_patch_list *pl = &env->patch_list; const struct bpf_subprog_info *sub; @@ -1095,7 +1098,7 @@ void bpf_opt_hard_wire_dead_code_branches(struct bpf_verifier_env *env) int i; for (i = 0; i < insn_cnt; i++, insn++) { - unwinds = bpf_is_unwind_goto(insn) && aux_data[i + 1 + insn->off].seen; + unwinds = bpf_is_unwind_goto(insn) && aux_data[i + 1 + bpf_jmp_offset(insn)].seen; calls = (bpf_pseudo_call(insn) || bpf_is_callx(insn)) && aux_data[i].seen; /* * The callee never exits. Its unwind_exit needs unwind_goto all the same. @@ -1428,7 +1431,7 @@ int bpf_opt_subreg_zext_lo32_rnd_hi32(struct bpf_verifier_env *env, struct bpf_insn *zext_patch = env->insn_buf; struct bpf_insn *rnd_hi32_patch = &env->insn_buf[2]; struct bpf_insn_aux_data *aux = env->insn_aux_data; - int i, patch_len, len = env->prog->len; + int i, err, patch_len, len = env->prog->len; struct bpf_insn *insns = env->prog->insnsi; bool rnd_hi32; @@ -1503,6 +1506,16 @@ int bpf_opt_subreg_zext_lo32_rnd_hi32(struct bpf_verifier_env *env, patch = zext_patch; patch_len = 2; apply_patch_buffer: + /* + * Nothing stands between an insn and its unwind_goto. On the way to the + * landing pad the insn has not written the register. + */ + if (bpf_is_unwind_goto(&insns[i + 1])) { + err = bpf_patch_list_insert(env, i + 2, patch + 1, patch_len - 1); + if (err) + return err; + continue; + } patch = bpf_patch_list_add(env, i, patch, patch_len); if (IS_ERR(patch)) return PTR_ERR(patch); @@ -1673,6 +1686,10 @@ int bpf_convert_ctx_accesses(struct bpf_verifier_env *env) insn->code = BPF_STX | BPF_PROBE_ATOMIC | BPF_SIZE(insn->code); env->prog->aux->num_exentries++; continue; + } else if (bpf_is_unwind_goto(insn)) { + /* jit_subprogs() counts them too, but only for a prog with subprogs */ + env->prog->aux->num_exentries++; + continue; } else if (insn->code == (BPF_STX | BPF_ATOMIC | BPF_DW) && insn->imm == BPF_LOAD_ACQ && env->insn_aux_data[i].arena_member) { @@ -3508,9 +3525,10 @@ static int inline_bpf_loop(struct bpf_verifier_env *env, int position, int reg_loop_ctx = BPF_REG_8; struct bpf_insn *unwind_goto = &env->prog->insnsi[position + 1]; bool has_unwind_goto = bpf_is_unwind_goto(unwind_goto); + int pad_off = bpf_jmp_offset(unwind_goto); bool pad = has_unwind_goto && bpf_subprog_unwinds(&env->subprog_info[callback_subprogno]) && - env->insn_aux_data[position + 2 + unwind_goto->off].seen; + env->insn_aux_data[position + 2 + pad_off].seen; struct bpf_insn *insn_buf = env->insn_buf; struct bpf_insn *last; @@ -3582,7 +3600,7 @@ static int inline_bpf_loop(struct bpf_verifier_env *env, int position, */ if (pad) bpf_patch_list_jump(&env->patch_list, last - (cnt - 1 - 6), - position + 2 + unwind_goto->off, 0); + position + 2 + pad_off, 0); /* The unwind_goto after the call of bpf_loop follows no call anymore. */ if (has_unwind_goto) *unwind_goto = BPF_JMP_A(0); diff --git a/kernel/bpf/liveness.c b/kernel/bpf/liveness.c index aac5f2860121..a7120ecb0e80 100644 --- a/kernel/bpf/liveness.c +++ b/kernel/bpf/liveness.c @@ -322,15 +322,6 @@ static int mark_stack_mask(struct func_instance *instance, u32 frame, u32 insn_i return 0; } -int bpf_jmp_offset(struct bpf_insn *insn) -{ - u8 code = insn->code; - - if (code == (BPF_JMP32 | BPF_JA)) - return insn->imm; - return insn->off; -} - __diag_push(); __diag_ignore_all("-Woverride-init", "Allow field initialization overrides for opcode_info_tbl"); -- 2.53.1-Meta