Skip to content

fix: handle PRECOMPILE_COUNT symbol in ELF parser#474

Open
avorylli wants to merge 4 commits intonexus-xyz:mainfrom
avorylli:av
Open

fix: handle PRECOMPILE_COUNT symbol in ELF parser#474
avorylli wants to merge 4 commits intonexus-xyz:mainfrom
avorylli:av

Conversation

@avorylli
Copy link
Contributor

Fix ELF parser to skip PRECOMPILE_COUNT symbol when parsing precompile metadata.

The parser was failing when encountering non-numeric precompile symbols like PRECOMPILE_COUNT.

Also correct test expectations to match actual file content.

@sjudson
Copy link
Contributor

sjudson commented Sep 24, 2025

@avorylli tests are failing

@avorylli
Copy link
Contributor Author

@avorylli tests are failing

@sjudson

not anymore :)

@sjudson
Copy link
Contributor

sjudson commented Sep 25, 2025

Going to leave this pending since the precompile work is still in an intermediary state, and we may not want to skip this symbol but use it in another way.

SashaMalysehko pushed a commit to SashaMalysehko/nexus-zkvm that referenced this pull request Dec 9, 2025
Summary:

Fixes nexus-xyz#452

Test Plan:

Co-authored-by: duc-nx <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants