View Issue Details

IDProjectCategoryView StatusLast Update
0008514libextractorpluginspublic2024-08-03 20:21
Reporterpinotree Assigned ToChristian Grothoff  
PrioritynormalSeveritymajorReproducibilityalways
Status assignedResolutionreopened 
Product Version1.12 
Target Version1.14 
Summary0008514: ELF plugin fails on big endian architectures
DescriptionThe revived ELF plugin (0002516) does not seem to work properly on big endian architectures (such as s390x, ppc64, hppa, etc); this can be seen by its test (i.e. "test_elf") that fails:

FAIL: test_elf
==============

Did not get expected meta data of type 1 and format 1 with value `application/x-executable' from plugin `elf'
Did not get expected meta data of type 83 and format 1 with value `i386' from plugin `elf'
Did not get expected meta data of type 92 and format 1 with value `Executable file' from plugin `elf'
Did not get expected meta data of type 94 and format 1 with value `libc.so.6' from plugin `elf'
FAIL test_elf (exit status: 1)
Steps To ReproduceBuild libextractor 1.12 on a big endian architecture, and also run the test suite.
TagsNo tags attached.

Activities

Christian Grothoff

2024-08-02 22:31

manager   ~0022901

Fix committed to master branch.

Christian Grothoff

2024-08-02 22:31

manager   ~0022902

4de5650..4bf5f20 should fix this, but I don't have a BE machine to test on right now. Can you please confirm the fix?

pinotree

2024-08-03 20:21

reporter   ~0022906

I built upstream git at revision 4bf5f20ad0eb8788fe65d4d2f95028f0c2e5be69, and test_elf still fails with the same output as reported previousy.

pinotree

2024-08-03 20:21

reporter   ~0022907

Forgot to mention: the build mentioned in my previous comment was done on an s390x Debian/unstable system.

Related Changesets

libextractor: master 4bf5f20a

2024-08-03 00:30

Christian Grothoff


Details Diff
try to fix 0008514 - untested Affected Issues
0008514
mod - src/plugins/pack.c Diff File

Issue History

Date Modified Username Field Change
2024-02-25 12:30 pinotree New Issue
2024-07-31 00:59 Christian Grothoff Assigned To => Christian Grothoff
2024-07-31 00:59 Christian Grothoff Status new => assigned
2024-08-02 22:31 Christian Grothoff Changeset attached => libextractor master 4bf5f20a
2024-08-02 22:31 Christian Grothoff Note Added: 0022901
2024-08-02 22:31 Christian Grothoff Status assigned => resolved
2024-08-02 22:31 Christian Grothoff Resolution open => fixed
2024-08-02 22:31 Christian Grothoff Note Added: 0022902
2024-08-02 22:31 Christian Grothoff Status resolved => feedback
2024-08-02 22:31 Christian Grothoff Resolution fixed => reopened
2024-08-02 22:31 Christian Grothoff Target Version => 1.14
2024-08-03 20:21 pinotree Note Added: 0022906
2024-08-03 20:21 pinotree Status feedback => assigned
2024-08-03 20:21 pinotree Note Added: 0022907