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
While extremely unlikely, a user program could have a function taking anonymous union/enum, as demonstrated by the function uprobeFunction3 in "tests/testprogs/uprobe_test.c":
int uprobeFunction3(
enum { A, B, C } e,
union {
int a;
char b;
} u __attribute__((unused)))
{
return e;
}
However, listing the arguments of the function with bpftrace -l 'uprobe:./testprogs/uprobe_test:uprobeFunction3' will not list the type of the arguments correctly.
What reproduces the bug? Provide code if possible.
Uncomment the "anonymous param type" in "tests/runtime/dwarf".
The text was updated successfully, but these errors were encountered:
While extremely unlikely, a user program could have a function taking anonymous
union/enum
, as demonstrated by the functionuprobeFunction3
in "tests/testprogs/uprobe_test.c":However, listing the arguments of the function with
bpftrace -l 'uprobe:./testprogs/uprobe_test:uprobeFunction3'
will not list the type of the arguments correctly.What reproduces the bug? Provide code if possible.
Uncomment the "anonymous param type" in "tests/runtime/dwarf".
The text was updated successfully, but these errors were encountered: