summaryrefslogtreecommitdiff
path: root/src
Commit message (Expand)AuthorAgeFilesLines
* Avoid implicit conversionChristian Göttsche2023-02-211-2/+2
* Avoid implicit value truncations in wri()Christian Göttsche2023-02-211-4/+8
* Enable WextraChristian Göttsche2023-02-211-1/+1
* Avoid dropping const qualifierChristian Göttsche2023-02-212-7/+7
* Declare file local functions staticChristian Göttsche2023-02-211-3/+3
* Drop superfluous semicolonsChristian Göttsche2023-02-211-2/+2
* Use C++11 [[noreturn]]Christian Göttsche2023-02-211-1/+1
* Avoid potential overflows in checkPointer()Christian Göttsche2023-02-211-3/+2
* Drop unnecessary casts in getElfType()Christian Göttsche2023-02-211-2/+2
* Close file before potentially throwingChristian Göttsche2023-02-211-2/+2
* Avoid unnecessary copies in splitColonDelimitedString()Christian Göttsche2023-02-211-6/+11
* Use C++ casts instead of raw C ones in hdr()Christian Göttsche2023-02-211-2/+2
* Drop unnecessary friend declarationsChristian Göttsche2023-02-211-4/+0
* Add misc functions annotationsChristian Göttsche2023-02-212-20/+20
* Add required includes in header fileChristian Göttsche2023-02-211-0/+9
* Add options to print, clear and set executable stack stateChristian Göttsche2023-01-282-3/+108
* Merge #4470.17.1bors[bot]2023-01-102-5/+7
|\
| * Revert "shiftFile: when splitting a segment into two pieces, preserve the ori...Jason2022-12-281-5/+1
| * Fix bug in file shifting that could cause conflicting PT_LOAD segmentsJason2022-12-022-5/+7
| * shiftFile: when splitting a segment into two pieces, preserve the original fl...Jason2022-12-021-1/+5
* | Out-of-bounds read exists in the function modifySonameyairKoskas2022-12-271-0/+1
|/
* add workaround for readelf from binutils 2.30Jörg Thalheim2022-11-061-1/+5
* update vendored elf fileJörg Thalheim2022-11-061-116/+1069
* patchelf: correct page size for sparc64/sparc32Jörg Thalheim2022-11-061-1/+4
* write out replace sections in original orderJörg Thalheim2022-11-051-8/+14
* fix pagesize on ia64Jörg Thalheim2022-11-041-0/+1
* Merge pull request #415 from Bo98/load-overlap-fix0.16.0Jörg Thalheim2022-10-262-21/+59
|\
| * Rework file shifting to avoid sections crossing multiple segmentsBo Anderson2022-10-132-21/+59
* | Skip empty PT_NOTE sectionsBo Anderson2022-10-261-0/+8
* | Merge pull request #411 from Bo98/notes-boundsJörg Thalheim2022-10-261-1/+1
|\ \
| * | Fix out of bounds access when increasing program header tableBo Anderson2022-10-101-1/+1
| |/
* | Merge pull request #414 from Bo98/gnu-propertyJörg Thalheim2022-10-262-0/+13
|\ \
| * | Sync .note.gnu.property to PT_GNU_PROPERTYBo Anderson2022-10-102-0/+13
| |/
* | Out-of-bounds read exists in the function modifyRPathzhailiangliang2022-10-261-0/+1
|/
* Remove unnecessary check of ELF type before modifying OS ABIDmitry Moskalchuk2022-07-111-5/+0
* Skip writing if the requested OS ABI is the same as the current oneDmitry Moskalchuk2022-06-301-0/+5
* Add --print-os-abi and --set-os-abi optionsDmitry Moskalchuk2022-06-302-0/+99
* Merge pull request #380 from amjoseph-nixpkgs/pr/close/368Jörg Thalheim2022-06-292-1/+8
|\
| * formatting: fix incorrect indentation in previous commitAdam Joseph2022-06-181-1/+1
| * patchelf.cc: handle DT_MIPS_XHASH and .MIPS.xhashAdam Joseph2022-06-181-0/+4
| * elf.h: resynchronize with glibc elf.hAdam Joseph2022-06-181-1/+4
* | Merge pull request #378 from a-m-joseph/pr/no-sortJörg Thalheim2022-06-191-6/+16
|\ \
| * | add --no-sort optionAdam Joseph2022-06-181-6/+16
| |/
* | patchelf.cc: add comment explaining calculation for DT_MIPS_RLD_MAP_RELAdam Joseph2022-06-181-0/+10
|/
* modifyRPath: return early if new and old rpath are emptyEmery Hemingway2022-05-201-2/+2
* Update src/patchelf.ccJörg Thalheim2022-04-071-0/+1
* Add O_BINARY flag when opening files to allow compilation for WindowsJago Gyselinck2022-04-061-2/+6
* Update argument name to be more descriptivedeadwood2022-02-212-8/+8
* Add --add-debug optiondeadwood2022-02-202-0/+42
* fix incorrect polarity on dyn_offset; closes #364Adam Joseph2022-01-211-1/+1