fall back to malloc+pread when stat+malloc doesn't seem to work. it allows libelf work on /dev/ksyms.
XXX the name of the flag is a bit confusing and i think it's better to rename MALLOCED to DATA_MALLOCED or such. but i don't think it's worth increasing the diff against the upstream for it.
|