Skip to content

elfsh_raw_read() cannot load data located at file offset 0 #64

@thorkill

Description

@thorkill

To raise the bug, try to load .text of an object file just compiled
A testsuite if providden in testsuite/elf/extract_raw_data

{{
$ ./load
INFO vaddr = 1C0005F8 size = 964
INFO file offset of .text = 000005F8
INFO raw_read returned 964
INFO vaddr = 00000000 size = 177
INFO file offset of .text = 00000000
INFO raw_read returned 0
ERR error : read only 0 bytes on 177
ERR on load.o
}}


Ticket: 61 Reported by: enioh on Sat Jun 14 17:50:39 2008

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions