https://bugs.kde.org/show_bug.cgi?id=492125

            Bug ID: 492125
           Summary: Warnings when running DTrace testsuite under Valgrind
                    (WARNING: unhandled eBPF command 23)
    Classification: Developer tools
           Product: valgrind
           Version: 3.24 GIT
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: s...@gentoo.org
  Target Milestone: ---

When running the DTrace [0] testsuite, I get a lot of 'WARNING: unhandled eBPF
command 23':
```
$ sudo valgrind dtrace -DARCH_x86_64 -I/usr/lib64/dtrace/include -xerrtags -s
test/unittest/multiaggs/err.D_PRINTA_AGGKEY.d
==1222270== Memcheck, a memory error detector
==1222270== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==1222270== Using Valgrind-3.24.0.GIT and LibVEX; rerun with -h for copyright
info
==1222270== Command: dtrace -DARCH_x86_64 -I/usr/lib64/dtrace/include -xerrtags
-s test/unittest/multiaggs/err.D_PRINTA_AGGKEY.d
==1222270==
--1222270-- WARNING: unhandled eBPF command 23
--1222270-- WARNING: unhandled eBPF command 23
==1222270== Conditional jump or move depends on uninitialised value(s)
==1222270==    at 0x4852415: strlen (vg_replace_strmem.c:505)
==1222270==    by 0x48E5164: dt_module_lookup_by_name (dt_module.c:173)
==1222270==    by 0x48AADDC: dt_btf_get_module_ids (dt_btf.c:944)              
                                                                               
                          ==1222270==    by 0x48E95E6: dt_vopen
(dt_open.c:1160)
==1222270==    by 0x1098F7: main (dtrace.c:1102)
[...]
```

Note that I've reported the uninit use to DTrace separately.

I actually wasn't aware at all that Valgrind understood BPF until I came across
https://bugs.kde.org/show_bug.cgi?id=426148#c4 :)

[0] https://github.com/oracle/dtrace-utils

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to