diff options
author | Ross Burton <ross.burton@intel.com> | 2016-11-07 14:11:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-11-15 15:18:48 +0000 |
commit | a66660aa5bb709547ce0b65a4563e4217c3c3d9f (patch) | |
tree | 2f4ac4b471860cc05b0accfa181e1044f6227210 /meta/recipes-extended/tar | |
parent | b02cef58ee35dd277fff48538ce2803df1cbc4d5 (diff) | |
download | openembedded-core-a66660aa5bb709547ce0b65a4563e4217c3c3d9f.tar.gz openembedded-core-a66660aa5bb709547ce0b65a4563e4217c3c3d9f.tar.bz2 openembedded-core-a66660aa5bb709547ce0b65a4563e4217c3c3d9f.zip |
lib/oe/qa: handle binaries with segments outside the first 4kb
The ELF parser was assuming that the segment tables are in the first 4kb of the
binary. Whilst this generally appears to be the case, there have been instances
where the segment table is elsewhere (offset 2MB, in this sample I have). Solve
this problem by mmap()ing the file instead.
Also clean up the code a little whilst chasing the problem.
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/recipes-extended/tar')
0 files changed, 0 insertions, 0 deletions