-
Notifications
You must be signed in to change notification settings - Fork 4
Fix musl detection & add smoke tests #234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| return fileName.toString(); | ||
| } | ||
|
|
||
| public interface Libc { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GetBinaryPath now includes an FFI Libc interface and native probing, mixing path-construction and native-detection responsibilities.
Feedback
Post a comment with the following structure to provide feedback on this finding:
@AikidoSec feedback: [FEEDBACK]
Aikido will process this feedback into learnings to give better review comments in the future.
More info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the path construction requires knowledge of musl vs gnu, would be strange to put it in another file, file name could be reworked I guess
| } | ||
| } catch (IOException e) { | ||
| logger.trace(e); | ||
| Libc.INSTANCE.gnu_get_libc_version(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
getLibCVariant calls gnu_get_libc_version() and discards its result, making the function's intent (probing for glibc) unclear.
Feedback
Post a comment with the following structure to provide feedback on this finding:
@AikidoSec feedback: [FEEDBACK]
Aikido will process this feedback into learnings to give better review comments in the future.
More info
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
context of file seems enough to me?
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
| on: | ||
| push: | ||
| branches: | ||
| - main |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would remove this restriction? let's always run it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it runs for every PR, same as other workflows atm
No description provided.