Update DataInCode's calculation of `endAddr` to use `getSize()` instead
of `getFileSize()` -- while in practice they're the same for
non-zerofill sections (which code sections are), we still should treat
address sizes / offsets as distinct from file sizes / offsets.
[](const MachO::data_in_code_entry &entry, uint64_t addr) {
return entry.offset < addr;
});
- const uint64_t endAddr = beginAddr + isec->getFileSize();
+ const uint64_t endAddr = beginAddr + isec->getSize();
for (const auto end = entries.end();
it != end && it->offset + it->length <= endAddr; ++it)
dataInCodeEntries.push_back(