[Bug bpf/23860] unknown opcode 0x8f in string manipulation code

me at serhei dot io sourceware-bugzilla@sourceware.org
Mon Nov 5 22:01:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=23860

Serhei Makarov <me at serhei dot io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |me at serhei dot io

--- Comment #2 from Serhei Makarov <me at serhei dot io> ---
This was a minor bug in program::mk_unary().

BPF_NEG indeed doesn't fit the pattern for eBPF opcodes: there is no src and
BPF_X is not used even though the disassembly says 'negx'.

Incorrect opcode should be fixed in commit 72ef87bba, but there's another
underlying issue preventing the example from working ('invalid memory access'
according to verifier). Not closing yet.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list