google / google/bloaty

Handle overlays (used in embedded)

Open
#161 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
5.5k
Forks
378
Avg merge
23h 54m
Merged PRs (30d)
6

Description

In embedded applications, two pieces of code might have exactly the same set of addresses, but get paged out manually depending on what code is needed at that time.

You can see more here:
http://www.sourceware.org/binutils/docs-2.10/ld_3.html#SEC37
https://en.wikipedia.org/wiki/Overlay_(programming)

Suggested plan for Bloaty: Instead of using just the VM address to disambiguate, use (VM address, file offset). This will allow overlays to work correctly.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.