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

Minimize dynamic loading #16770

Merged
merged 8 commits into from May 5, 2020
Merged

Minimize dynamic loading #16770

merged 8 commits into from May 5, 2020

Conversation

ghost
Copy link

@ghost ghost commented May 5, 2020

Your checklist for this pull request

  • I've read the guidelines for contributing to this repository
  • I made sure to follow the project's coding style
  • I've added tests that prove my fix is effective or that my feature works (if possible)
  • I've updated the documentation and the radare2 book with the relevant information (if needed)

Detailed description
I tried to reduce the use of dyn_buf. The last function using it is Elf_(r_bin_elf_get_libs).
The only problem is that DT_NEEDED should be a list.

Test plan

...

Closing issues
#12732

libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
libr/bin/format/elf/elf.c Outdated Show resolved Hide resolved
@radare radare merged commit de5a0b0 into radareorg:master May 5, 2020
Emi1305 pushed a commit to Emi1305/radare2 that referenced this pull request Jul 12, 2020
* Add DT_BIND_NOW, DT_FLAGS, DT_FLAGS_1
* Add DT_RPATH, DT_RUNPATH
* Remove use of dyn_info from get_sections_from_phdr
* Remove dyn_info ref inside get_symbols_from_phdr
* Fix use of length related dyn info
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

Successfully merging this pull request may close these issues.

None yet

1 participant