Skip to content

Conversation

jerryzj
Copy link
Contributor

@jerryzj jerryzj commented Dec 23, 2024

@sevaa
Copy link
Contributor

sevaa commented Dec 23, 2024

My only concern is the test strategy. A test against a hand constructed notes section is not indicative of what the binaries in the wild, where the notes section was built by a compiler, would look like.

@jerryzj
Copy link
Contributor Author

jerryzj commented Dec 24, 2024

Well... I am following the implementation in https://github.com/eliben/pyelftools/blob/main/test/testfiles_for_readelf/note_gnu_property.S

Maybe we can have a C code test case after the entire CFI support being implemented on the toolchain side.

@sevaa
Copy link
Contributor

sevaa commented Dec 24, 2024

That was before my time :) Anyway, if you can get a C[++] compiler to emit the right notes section, I think that'd be better. This PR will be sitting for a while anyway.

@sevaa sevaa mentioned this pull request Feb 15, 2025
@sevaa
Copy link
Contributor

sevaa commented Feb 26, 2025

As of binutils 2.44, no support for RISCV notes.

@jerryzj
Copy link
Contributor Author

jerryzj commented Feb 26, 2025

Yes, and I know that my colleague has not submitted that to upstream yet

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