]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Fix bpf disassembler for _FORTIFY_SOURCE
authorRichard Henderson <rth@redhat.com>
Wed, 10 Aug 2016 07:11:21 +0000 (12:41 +0530)
committerMark Wielaard <mjw@redhat.com>
Thu, 11 Aug 2016 00:28:32 +0000 (02:28 +0200)
commita8b2529facfbabfe4c8a0ca1a4387fe482d1c955
treec4305ec5e6a87f4f6c289516d087b415559bbc06
parentaee5606ab5b46b6727912be4027f4f168fdc4bbe
Fix bpf disassembler for _FORTIFY_SOURCE

It's illegal to skip positional operands for printf.  Rearrange the
printing of the instructions to use exactly the operands required.

Also, fix printing of mod operations: s/%/%%/ in the print format.
Also, fix printing of endian operations: remove extra spaces.
libcpu/ChangeLog
libcpu/bpf_disasm.c
tests/ChangeLog
tests/testfile-bpf-dis1.expect.bz2