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

Incorrect linker settings for target_dl sample #8

Open
samunders-core opened this issue Aug 23, 2021 · 1 comment
Open

Incorrect linker settings for target_dl sample #8

samunders-core opened this issue Aug 23, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@samunders-core
Copy link

Comparing arm-linux-gnueabihf builds of samples/dummy/target and samples/dummy/target_dl:

  • target works after applying double ezinject invocation workaround (return1() = 13370)
  • target_dl fails to install hooks target_dl.txt
@smx-smx smx-smx added the bug Something isn't working label Aug 23, 2021
@smx-smx
Copy link
Owner

smx-smx commented Aug 25, 2021

This is actually not a linker problem, but it's related to target_dl.c being out of date in respect to target.c.
Therefore, libdummy.so looks for a function that doesn't exist in target_dl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants