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

shrinkwrap: introduce new shrinkwrap option #357

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Commits on Dec 20, 2021

  1. shrinkwrap: introduce new shrinkwrap option

    Add a new command to patchelf `--shrink-wrap` which shrink-wraps the
    binary file.
    
    patchelf at the moment works by modifying the RUNPATH to help locate
    files to the store however it only does this generally for it's
    immediate DT_NEEDED.
    
    There can be cases where binaries correctly run but are doing so just by
    chance that the linker has found the library previously during it's
    walk.
    
    To avoid this, lets pull up all DT_NEEDED to the top-level executable
    and immortalize them by having their entries point to very specific
    location.
    fzakaria committed Dec 20, 2021
    Configuration menu
    Copy the full SHA
    c55a6ee View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2021

  1. Squashed commit of the following:

    commit c172ce6
    Merge: b73dbc1 4604393
    Author: Jörg Thalheim <Mic92@users.noreply.github.com>
    Date:   Tue Dec 21 19:47:20 2021 +0000
    
        Merge pull request NixOS#360 from fzakaria/faridzakaria/fix-add-replace
    
        Quality of life readability improvements
    
    commit 4604393
    Author: Farid Zakaria <farid.m.zakaria@gmail.com>
    Date:   Mon Dec 20 15:04:57 2021 -0800
    
        Renamed findSection2 to tryFindSectionHeader
    
    commit 1071237
    Author: Farid Zakaria <farid.m.zakaria@gmail.com>
    Date:   Mon Dec 20 14:59:15 2021 -0800
    
        Renamed findSection3 to getSectionIndex
    
    commit 05e8f67
    Author: Farid Zakaria <farid.m.zakaria@gmail.com>
    Date:   Mon Dec 20 14:54:37 2021 -0800
    
        Added patchelf.h
    
        Added a header file to make things easier to navigate.
    
        Renamed findSection3 -> getSectionIndex since thats more sensible to
        read.
    
        Renamed findSection -> findSectionHeader to better distinguish sections
        from headers.
    fzakaria committed Dec 22, 2021
    Configuration menu
    Copy the full SHA
    fbad2d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9b36e3d View commit details
    Browse the repository at this point in the history