Skip to content

Conversation

@geofft
Copy link
Collaborator

@geofft geofft commented Dec 15, 2025

Correctly handle lines missing a filename (which have a space between fields immediately followed by a newline; scanf will skip over both of those as whitespace and try to parse the next line).

Also use __builtin_return_address to provide some robustness against running into issues with the PLT.

Correctly handle lines missing a filename (which have a space between
fields immediately followed by a newline; scanf will skip over both of
those as whitespace and try to parse the next line).

Also use __builtin_return_address to provide some robustness against
running into issues with the PLT.
@geofft geofft force-pushed the geofft/getpath-instruction-pointer branch from d6c491c to 54d0d42 Compare December 15, 2025 20:28
@geofft geofft requested a review from jjhelmus December 15, 2025 21:18
@geofft geofft marked this pull request as ready for review December 15, 2025 21:18
@geofft geofft merged commit 2b04093 into main Dec 16, 2025
421 of 422 checks passed
@geofft geofft deleted the geofft/getpath-instruction-pointer branch December 16, 2025 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants