Mark Wielaard
3ba5040317
libelf: Only memcpy ehdr back when not already directly mmapped.
...
When the elf file is mmapped ehdr can still point to ehdr_mem if the
address is unaligned. In such cases we do need to memcpy the ehdr back
to the file. We shouldn't when ehdr already comes directly from the mmapped
file, because that would cause an memcpy call with overlapping addresses
(ehdr being copied directly over itself).
Signed-off-by: Mark Wielaard <mjw@redhat.com >
2013-11-11 15:07:44 +01:00
..
2012-06-05 23:12:05 +02:00
2013-11-11 15:07:44 +01:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-08-14 16:48:50 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-07-24 11:41:01 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2013-11-11 15:07:44 +01:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-07-17 16:29:18 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-08-07 14:28:57 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2013-01-07 14:30:54 -08:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2013-10-01 16:31:16 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2013-08-28 11:44:41 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2013-08-28 18:58:10 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2010-01-07 19:43:42 -08:00
2012-06-05 23:12:05 +02:00
2013-11-05 17:07:10 +01:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00
2012-06-05 23:12:05 +02:00