View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0008514 | libextractor | plugins | public | 2024-02-25 12:30 | 2024-08-03 20:21 | 
| Reporter | pinotree | Assigned To | Christian Grothoff | ||
| Priority | normal | Severity | major | Reproducibility | always | 
| Status | assigned | Resolution | reopened | ||
| Product Version | 1.12 | ||||
| Target Version | 1.14 | ||||
| Summary | 0008514: ELF plugin fails on big endian architectures | ||||
| Description | The 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 Reproduce | Build libextractor 1.12 on a big endian architecture, and also run the test suite. | ||||
| Tags | No tags attached. | ||||
| 
		 | 
	Fix committed to master branch. | 
| 
		 | 
	4de5650..4bf5f20 should fix this, but I don't have a BE machine to test on right now. Can you please confirm the fix? | 
| 
		 | 
	I built upstream git at revision 4bf5f20ad0eb8788fe65d4d2f95028f0c2e5be69, and test_elf still fails with the same output as reported previousy. | 
| 
		 | 
	Forgot to mention: the build mentioned in my previous comment was done on an s390x Debian/unstable system. | 
| 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 |