summaryrefslogtreecommitdiff
path: root/src/patchelf.cc
Commit message (Expand)AuthorAgeFilesLines
* Merge branch 'master' into breno.rename_symsJörg Thalheim2023-02-221-45/+94
|\
| * Avoid memory corruption on invalid ELF inputChristian Göttsche2023-02-211-7/+52
| * Declare more read-only functions constChristian Göttsche2023-02-211-8/+8
| * Avoid implicit conversionChristian Göttsche2023-02-211-2/+2
| * Avoid dropping const qualifierChristian Göttsche2023-02-211-6/+6
| * 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
| * Add misc functions annotationsChristian Göttsche2023-02-211-4/+4
* | Code polishing to use more spansBreno Rodrigues Guimaraes2023-02-211-15/+19
* | Add description to patchelf.1Breno Rodrigues Guimaraes2023-02-201-1/+1
* | Add support for symbol name remappingBreno Rodrigues Guimaraes2023-02-201-3/+269
|/
* Add options to print, clear and set executable stack stateChristian Göttsche2023-01-281-2/+103
* Merge #4470.17.1bors[bot]2023-01-101-4/+6
|\
| * 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-021-4/+6
| * 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
* 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-261-20/+58
|\
| * Rework file shifting to avoid sections crossing multiple segmentsBo Anderson2022-10-131-20/+58
* | 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-261-0/+12
|\ \
| * | Sync .note.gnu.property to PT_GNU_PROPERTYBo Anderson2022-10-101-0/+12
| |/
* | 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-301-0/+95
* Merge pull request #380 from amjoseph-nixpkgs/pr/close/368Jörg Thalheim2022-06-291-0/+4
|\
| * 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
* | 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-211-7/+7
* Add --add-debug optiondeadwood2022-02-201-0/+40
* fix incorrect polarity on dyn_offset; closes #364Adam Joseph2022-01-211-1/+1
* Merge branch 'master' into faridzakaria/fix-add-replace-for-realFarid Zakaria2021-12-211-208/+47
|\