Only pass --ignore-addr-diffs to asm-differ for aarch64

Open Beginner friendly
#2,099 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #2148 by @sloemo01 — closed without merging

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Quiet
Tech stack
python

Research direction

Read backend/coreapp/diff_wrapper.py around line 114, where the issue says the argument is passed to asm-differ. Check how the selected architecture is represented there and consult the linked asm-differ issue for the arm32 behavior. Done means --ignore-addr-diffs is passed for aarch64 only, not arm32 or other architectures.

Written by the indexing model from the issue text.

Description

For arm32, --ignore-addr-diffs is harmful, because it silences diffs in bl symbol names. (https://github.com/simonlindholm/asm-differ/issues/225)

For aarch64, it is helpful because the typical workflow diffs linked files against unlinked ones, and then addr diffs are expected to be ignored.

For all other architectures, the flag is unimplemented by asm-differ.

The argument gets passed here: https://github.com/decompme/decomp.me/blob/33ca188cfe62ffa03299f7a1bd7883cd63f8bee2/backend/coreapp/diff_wrapper.py#L114

Dominant language
TypeScript
Stars
622
Forks
159
Avg merge
10h 18m
Merged PRs (30d)
34

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from decompme/decomp.me

All issues in decompme/decomp.me

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.