|
From: Julian S. <js...@ac...> - 2009-01-05 16:17:09
|
> So we should try and find the PT_LOAD associated with each mapping we > see, which would allow us to calculate the bias for that section, then > use the p_vaddr and p_memsz of the segment (which give the svma address > and size) to match against the svma addresses in the section table to > work out the bias for each section. > > Does that make sense? Yes it does. It never occurred to me before that the segment-vs-section mapping stuff needed to be taken into account. Any chance you can hack up a patch for contemplation? J |