Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eBPF bytecode file verification failed used veristat tool. #404

Closed
cfc4n opened this issue Oct 14, 2023 · 0 comments · Fixed by #405
Closed

eBPF bytecode file verification failed used veristat tool. #404

cfc4n opened this issue Oct 14, 2023 · 0 comments · Fixed by #405
Labels
enhancement New feature or request

Comments

@cfc4n
Copy link
Member

cfc4n commented Oct 14, 2023

root@vm-server:/cfc4n/project/ecapture# ../veristat/src/veristat -d user/bytecode/bash_kern.o
Processing 'bash_kern.o'...
libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': 0
libbpf: map 'events_t': created successfully, fd=4
libbpf: map 'events': failed to create: Invalid argument(-22)
libbpf: failed to load object 'user/bytecode/bash_kern.o'
libbpf: loading kernel BTF '/sys/kernel/btf/vmlinux': 0
libbpf: map 'events_t': created successfully, fd=4
libbpf: map 'events': failed to create: Invalid argument(-22)
libbpf: failed to load object 'user/bytecode/bash_kern.o'
PROCESSING user/bytecode/bash_kern.o/uretprobe_bash_retval, DURATION US: 0, VERDICT: failure, VERIFIER LOG:
  File         Program                  Verdict  Duration (us)  Insns  States  Peak states
-----------  -----------------------  -------  -------------  -----  ------  -----------
bash_kern.o  uretprobe_bash_readline  failure              0      0       0            0
bash_kern.o  uretprobe_bash_retval    failure              0      0       0            0
-----------  -----------------------  -------  -------------  -----  ------  -----------
@cfc4n cfc4n added the enhancement New feature or request label Oct 14, 2023
@cfc4n cfc4n changed the title veristat verify failed. eBPF bytecode file verification failed used veristat tool. Oct 14, 2023
@cfc4n cfc4n linked a pull request Oct 14, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant