Hi,
dwfl_addrsegment (), dwfl_addrmodule () and anything that uses them
don't set an error when the given address is out of range. Which means
that if they fail and you use dwfl_errmsg () to generate an error
message it will seem to indicate nothing was wrong. This affects such
things like dwfl_addrdie () and even dwfl_validate_address () (which
only sets an error if the addr + offset is invalid, but not if addr
itself is).
2009-07-16 Mark Wielaard <mjw(a)redhat.com>
* segment.c (dwfl_addrsegment): Set DWFL_E_ADDR_OUTOFRANGE on error.
Makes sense?
Thanks,
Mark