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

Changing ET_DYN objects? #2

Open
tuxillo opened this issue Apr 1, 2020 · 2 comments
Open

Changing ET_DYN objects? #2

tuxillo opened this issue Apr 1, 2020 · 2 comments

Comments

@tuxillo
Copy link

tuxillo commented Apr 1, 2020

In src/mod-elf-symbol.c:294 there is a switch:

  switch(ehdr->e_type) {
  case ET_EXEC:
     printf("WARNING: The ELf type is that of an executable. (%s)\n", objFileName);
    break;
  case ET_REL:
    printf("SUCCESS: The ELF type is that of an relocatable. (%s)\n", objFileName);
    break;


Does the ET_DYN case require a different approach? Or is it simply not possible to do it?

@tuxillo tuxillo changed the title Changing ET_DYN bojects? Changing ET_DYN objects? Apr 1, 2020
@j-h-k
Copy link
Owner

j-h-k commented Apr 2, 2020

When I get the time I'm planning on updating this repo.
That'd be something interesting to try out!

@tuxillo
Copy link
Author

tuxillo commented Apr 2, 2020

Thanks!

I've been doing a bit more research but I'm suspecting this is not going to be possible. Apparently those symbols are hashed somewhere and referenced in the .gnu.version section.

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

No branches or pull requests

2 participants