-
Notifications
You must be signed in to change notification settings - Fork 158
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
software-stack/Library calls vs system calls: Additional details would be needed #193
Comments
I think that for local (lab) binaries, the compilation flags also include The The system binaries are likely compiled using |
I would say the issue is not caused by This causes the Example: #include <stdio.h>
int main() {
printf("Hello\n");
printf("World\n");
return 0;
} Compile with
So what gets called by the code is the function inside
This issue was actually fixed in upstream ltrace. However, the latest stable version is quite old (0.7.3), so the only option is to compile it ourselves. Here's the output on a manually compiled version of ltrace:
Now the output is correct, but the arguments of |
In the exemplification of the "ltrace" with the argument < -x "malloc" ls > it shows the appearances of malloc inside ls executable file.
I tried to use it on an executable file from the lab (eg. call) and these were the results:
I was wondering why other functions are displayed besides malloc. Thank you!
The text was updated successfully, but these errors were encountered: