You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The segmentation fault occurs when loading the ELF file:
It seems that the instruction representing call to ubpf_map_lookup has wrong imm. The segmentation fault appears for the following piece of code, because ext_func with a given (malformed) imm is not found:
ubpf_jit_x86_64.c:
caseEBPF_OP_CALL:
/* We reserve RCX for shifts */emit_mov(state, R9, RCX);
emit_call(state, vm->ext_funcs[inst.imm].func);
break;
The segmentation fault occurs when loading the ELF file:
It seems that the instruction representing call to
ubpf_map_lookup
has wrongimm
. The segmentation fault appears for the following piece of code, becauseext_func
with a given (malformed)imm
is not found:ubpf_jit_x86_64.c
:Output from gdb:
File
test.c
:File
test.h
:The text was updated successfully, but these errors were encountered: