Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | paxelf: reject ELFs with incomplete Ehdr structures | 2024-01-25 | 1 | -0/+5 | |
| | | | | | | There's nothing useful we can parse out of these, so skip them. Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | fix various typos found w/codespell | 2024-01-15 | 1 | -1/+1 | |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | update copyright headers | 2024-01-01 | 1 | -2/+2 | |
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> | ||||
* | Undo IWYU fixes | 2023-01-29 | 1 | -14/+0 | |
| | | | | | | | | | | | | I wasn't paying enough attention, it's better to just fold the needed bits into porting.h. This reverts commit ffedc60fa41d307bda28fd108e6ff1b8da1fc2ee. This reverts commit f8287200aec0ca33ef07fafcdd5aef0aa6eb1306. This reverts commit aa907a42d89ddfd5a7e64d8182a1da35277f2f6e. Bug: https://github.com/gentoo/pax-utils/pull/11#issuecomment-1407566344 Signed-off-by: Sam James <sam@gentoo.org> | ||||
* | *: IWYU fixes deux | 2023-01-29 | 1 | -0/+1 | |
| | | | | Signed-off-by: Sam James <sam@gentoo.org> | ||||
* | *: IWYU fixes | 2023-01-28 | 1 | -0/+13 | |
| | | | | | | | Separate from the first commit as this one was done programmatically with dev-util/include-what-you-use. Signed-off-by: Sam James <sam@gentoo.org> | ||||
* | paxelf: add LoongArch to recognized ELF machine types | 2022-03-24 | 1 | -0/+1 | |
| | | | | | Signed-off-by: WANG Xuerui <xen0n@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> | ||||
* | Add RISC-V to the list of architectures in ELF | 2020-04-06 | 1 | -0/+1 | |
| | | | | | Signed-off-by: Göktürk Yüksek <gokturk@gentoo.org> Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | ||||
* | paxelf: constify elfobj pointers | 2018-06-07 | 1 | -2/+2 | |
| | | | | | | We rarely need to modify the memory from our input ELFs, so constify all the buffers. We end up having to cast away the const in the "fix" paths in scanelf (which is a bit ugly), but otherwise everything else works. | ||||
* | paxelf: constify elfobj pointer in helpers | 2018-06-07 | 1 | -10/+10 | |
| | | | | This helper funcs only read data, so mark elfobj as const. | ||||
* | paxelf: constify misc pointers | 2018-06-07 | 1 | -4/+4 | |
| | | | | Mark internal pointers as const that we don't modify anywhere. | ||||
* | paxelf: constify elf_findsecbyname | 2018-06-07 | 1 | -4/+4 | |
| | | | | | We need to also constify scanelf_file_get_symtabs due to cascading const markings. | ||||
* | paxelf: constify pax_short_* helpers | 2017-03-03 | 1 | -3/+3 | |
| | |||||
* | dumpelf: add support for dumping notes | 2016-11-23 | 1 | -0/+68 | |
| | |||||
* | paxelf: use fstat instead of stat && open | 2016-06-19 | 1 | -6/+6 | |
| | | | | This fixes a minor race condition. | ||||
* | paxelf: add a helper for accessing e_flags | 2016-01-03 | 1 | -9/+13 | |
| | |||||
* | paxelf: switch low level elf helpers to unsigned ints | 2016-01-03 | 1 | -15/+13 | |
| | | | | Avoid using signed types when working with unsigned elf fields. | ||||
* | avoid using \n with warn macros | 2015-08-20 | 1 | -1/+1 | |
| | | | | These already append a newline for us, so don't want two of them. | ||||
* | elf.h: sync with glibc | 2015-03-10 | 1 | -29/+2 | |
| | |||||
* | migrate to gitv1.0 | 2015-03-02 | 1 | -1/+0 | |
| | |||||
* | add support for symbol visibility | 2014-06-18 | 1 | -1/+14 | |
| | |||||
* | paxelf: add more DT defines | 2014-01-11 | 1 | -1/+10 | |
| | |||||
* | paxelf: add more entries with latest elf.h | 2014-01-11 | 1 | -3/+8 | |
| | |||||
* | sync elf.h settings | 2012-11-24 | 1 | -21/+29 | |
| | |||||
* | scanelf: drop XXX_NUM defines as those are compile-time limites, not actual ↵ | 2012-11-24 | 1 | -3/+1 | |
| | | | | field values | ||||
* | scanelf: drop XXX_NUM defines as those are compile-time limites, not actual ↵ | 2012-11-24 | 1 | -7/+1 | |
| | | | | field values | ||||
* | scanelf: skip leading OLFOSABI_ when getting the osabi field so we do not ↵ | 2012-11-24 | 1 | -5/+4 | |
| | | | | skip UNKNOWN_TYPE | ||||
* | scanelf/pspax: drop PT_LOAD counts since more than "normal" is not a bug and ↵ | 2012-11-18 | 1 | -19/+1 | |
| | | | | is semi-common with some targets, and the warning has out lived its usefulness -- it was added as an initial sanity check to get a feel for the real world | ||||
* | update copyright years | 2012-11-04 | 1 | -4/+4 | |
| | |||||
* | drop invalid checking when looking up section headers -- e_shentsize applies ↵v0.4 | 2012-04-29 | 1 | -2/+1 | |
| | | | | to the section header struct itself, not the data region that it points to (sh_offset). further, we only care about the sections name here, not the stuff it points to. this fixes a bug where the last section in the ELF which happens to be smaller than e_shentsize cannot be looked up. | ||||
* | drop EI_PAX setting when modifying pax flags #411919 | 2012-04-28 | 1 | -51/+1 | |
| | |||||
* | make sure the maps we scan are aligned when needed (which often does not ↵ | 2010-01-15 | 1 | -1/+15 | |
| | | | | happen when reading static library archives *.a) | ||||
* | unify elf->{ehdr,data} storage with a union | 2010-01-15 | 1 | -2/+1 | |
| | |||||
* | touchup a few more ->data void points and casts | 2010-01-15 | 1 | -7/+7 | |
| | |||||
* | add SHT decoding and tweak undefined strings to not use spaces | 2009-12-01 | 1 | -5/+23 | |
| | |||||
* | cleanup the eabi checks | 2009-12-01 | 1 | -23/+21 | |
| | |||||
* | constify all the elf pairs | 2009-12-01 | 1 | -2/+2 | |
| | |||||
* | split st_type and st_bind lookup functions | 2009-12-01 | 1 | -3/+12 | |
| | |||||
* | use xzalloc | 2008-12-30 | 1 | -3/+2 | |
| | |||||
* | drop MAP_FAILED casts as its a void* | 2008-12-30 | 1 | -2/+2 | |
| | |||||
* | touchup whitespace style | 2008-12-30 | 1 | -4/+1 | |
| | |||||
* | drop pointless casts on mmap() return | 2008-12-30 | 1 | -2/+2 | |
| | |||||
* | - add OSABI/EABI support to scanelf --osabi/--eabi to scanelf. Update elf.h | 2008-06-17 | 1 | -1/+47 | |
| | |||||
* | - mainly whitespace updates | 2008-01-17 | 1 | -3/+1 | |
| | |||||
* | residual xfunc changeover: dont check return value of xmalloc() | 2007-08-25 | 1 | -3/+1 | |
| | |||||
* | split xfuncs off into a sep file for all utils to use, cleanup misc things, ↵ | 2007-08-20 | 1 | -5/+3 | |
| | | | | and add some more comments | ||||
* | - add endian scanning support | 2007-06-29 | 1 | -1/+10 | |
| | |||||
* | - update copyright headers | 2007-06-09 | 1 | -2/+2 | |
| | |||||
* | - update copyright headers | 2007-05-23 | 1 | -3/+3 | |
| | |||||
* | add support for displaying em_machine via %a format flag | 2006-12-11 | 1 | -3/+15 | |
| |