Skip to content
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

Need a better prefix for function prototypes to avoid potential collisions #3

Open
pdreiter opened this issue Mar 29, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@pdreiter
Copy link
Owner

Found in Rode0days program fileS5, function pread, collision between function prototype typedef for external symbol read and the decompiled function.

typedef ssize_t (*pread)(int s_0,void * s_1,size_t s_2);
pread z__read = NULL;

vs

ssize_t  pread(int fd, void *buf, size_t nbytes, __off_t offset)
@pdreiter pdreiter added the enhancement New feature or request label Mar 29, 2024
@pdreiter pdreiter self-assigned this Mar 29, 2024
@pdreiter
Copy link
Owner Author

found in 1 of 11615 functions tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant