This is keeping up with dyninst.git master, basically just
s/offsetToAddr/fileOffsetToAddr/
BPatch_object* object,
sdt_point& p)
{
- Dyninst::Address address = object->offsetToAddr(p.pc_offset);
+ Dyninst::Address address = object->fileOffsetToAddr(p.pc_offset);
if (address == BPatch_object::E_OUT_OF_BOUNDS)
{
warnx("couldn't convert %s:%s at %#lx to an address",
continue;
}
- Dyninst::Address address = object->offsetToAddr(target->offset);
+ Dyninst::Address address = object->fileOffsetToAddr(target->offset);
if (address == BPatch_object::E_OUT_OF_BOUNDS)
{
clog << "couldn't convert 0x" << hex << target->offset << dec