fitzgen / fitzgen/winliner

Translate custom name sections during instrumentation

Open
#8 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
29
Forks
2
PR merge metrics
No merged PRs in 30d

Description

> If this is a name section (`custom.name() == "name"`), don't we need to shift function indices down for the hostcall strategy?

_Originally posted by @cfallin in https://github.com/fitzgen/winliner/pull/2#discussion_r1333600132_

Contributor guide

Open the contributing guide

Research direction

Start by locating the instrumentation path that checks custom.name() == "name" and read how the hostcall strategy shifts function indices. Verify how the name section should be translated alongside those shifts; done means custom name entries remain aligned with the instrumented function indices. No file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, wasm
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.