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

Fix ELF.libc_start_main_return with glibc 2.34 #2027

Merged
merged 2 commits into from
Jan 31, 2022

Commits on Jan 31, 2022

  1. Fix ELF.libc_start_main_return with glibc 2.34

    The actual call to `main` was split out into a new `__libc_start_call_main` function in glibc 2.34.
    
    Update the heuristic to find main's return address by looking into all direct calls in `__libc_start_main` until the old heuristic matches.
    
    The other direct calls could be e.g. `atexit` which doesn't call `exit`.
    peace-maker committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    b55787b View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG.md

    peace-maker committed Jan 31, 2022
    Configuration menu
    Copy the full SHA
    42539ce View commit details
    Browse the repository at this point in the history