FEX-Emu / FEX-Emu/FEX

FileID needs some work on Linux

Open
#5,912 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8k
Forks
351
Avg merge
12h 31m
Merged PRs (30d)
102

Description

Would be good to bring it up to parity with the Windows implementation, using something like GNU .build-id if it's available, and falling back to some objective measure of the file itself (like a hash of its timestamp/size/base name) that doesn't include a hash of its full path.

Right now the ELF parsing we do happens after the FileID is generated, so even if .build-id parsing was added there we likely need to reorganize things a bit.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the current FileID generation and the existing ELF parsing path described in the issue, then compare the Linux and Windows implementations. Check how GNU .build-id availability can be detected and define a fallback based on file metadata rather than its full path; done means Linux FileID behavior reaches parity without relying on post-generation ELF parsing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, linux
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.