Commit Graph

85 Commits

Author SHA1 Message Date
PoroCYon 63afc83c4d keep LD_LIBRARY_PATH order
from YouDirk's and donnerbrenn's fix at
e1d747c975

this code still removes duplicate entries, though
2021-01-17 17:07:47 +01:00
PoroCYon e37a0d8e50 shdr parsing in hackyelf, linkmap parsing bug fixes 2020-10-16 04:13:57 +02:00
PoroCYon 6ad8eed5b2 and make --det work again 2020-08-25 04:36:12 +02:00
PoroCYon 26feb30590 fix a syntax error, oops 2020-08-25 03:35:55 +02:00
PoroCYon bfe3ba1f20 REAL real fix for #5, also fix the hash size check, 2020-08-25 03:02:21 +02:00
PoroCYon e6268471ff ... and ACTUALLY fix #5 2020-08-25 01:59:50 +02:00
PoroCYon d3d3d1eb11 fix everything breaking due to 2b2efa3, and also fix library ordening when it would cause problems (closes #5) 2020-08-25 01:57:00 +02:00
PoroCYon 93c83f12b9 credit where credit is due 2020-08-24 22:48:32 +02:00
PoroCYon d0291ec6cd more docs! 2020-08-24 22:44:56 +02:00
PoroCYon 2b2efa3d21 make DWARF info output actually work 2020-08-24 22:06:13 +02:00
PoroCYon 2970441e03 stuff 2020-08-24 22:01:55 +02:00
PoroCYon 3e321ca962 rearrange arguments a bit so that they make more sense 2020-08-24 22:01:44 +02:00
PoroCYon 884d2cd913 update README once more 2020-08-24 20:47:44 +02:00
PoroCYon 77bc5bbebf [BREAKING] change defaults of a number of arguments 2020-08-24 20:46:21 +02:00
PoroCYon 00b07fe5fc fix 32-bit crc32c binaries segfaulting, fix smoldd's --hash16 handling 2020-08-24 20:15:51 +02:00
PoroCYon 14bc2a53c3 Merge branch 'crc32c' into master-crc32c-merge 2020-08-24 19:43:28 +02:00
blackle 181c80984b Fix multiple GLIBC versions 2020-08-24 13:32:28 -04:00
PoroCYon 8d85d3d4b3 update the README a bit 2020-08-24 19:15:43 +02:00
blackle 405d8ebf1e Remove dependency on scanelf by using readelf -s 2020-08-24 02:24:38 -04:00
blackle 49ac82686b Implement crc32c hashing. Add options to smoldd to handle the different hash functions 2020-08-24 02:22:43 -04:00
PoroCYon 1e17d11774 CRC32C-based hash (thanks Intel) (Python part is still TODO) 2020-08-24 05:38:33 +02:00
PoroCYon d7135e3fe9 add option to fall back to gen-asm-only behavoir (aka prerelease stuff), fix some temp files not getting removed properly 2020-08-24 05:27:05 +02:00
PoroCYon b71b15b572 automatically adapt end-of-hashes check width to the symbols used (closes #6) 2020-08-24 05:21:00 +02:00
PoroCYon c1601fc994 32-bit ifuncs: actually follow the calling convention 2020-08-24 04:57:09 +02:00
PoroCYon cdfcedc1ee 32-bit ifuncs 2020-08-24 04:36:53 +02:00
PoroCYon 62406b12e6 better code arrangement for SKIP_ZERO_VALUE && IFUNC_SUPPORT && USE_DNLOAD_LOADER 2020-08-24 03:54:15 +02:00
PoroCYon ebaa50357d *actually* fix smoldd this time 2020-08-24 02:48:07 +02:00
PoroCYon 6af8463ef1 make smoldd work with -fuse-dnload-loader executables (oops) 2020-08-24 02:31:07 +02:00
PoroCYon 60d51bbc3b make --debugout output to a separate file in the same run, have debugout ELFs contain proper interp and dyn segments without changing the output file layout 2020-08-24 01:20:50 +02:00
PoroCYon 10181a24b5 --debugout and linker maps shouldn't mix 2020-08-23 00:13:16 +02:00
PoroCYon bfe5fc2698 32-bit works again, use smaller opcodes for ifunc checking code 2020-08-23 00:09:33 +02:00
PoroCYon daf76fec8e resolve IFUNCs correctly 2020-08-22 03:41:25 +02:00
PoroCYon 494d32638a sort symbols in linkmap by address 2020-08-05 02:37:08 +02:00
PoroCYon 51db8f8714 reorganize everything in a single invocation (take 2) 2020-07-11 22:30:33 +00:00
PoroCYon 09acda915d fix smoldd.py failing when LD_LIBRARY_PATH isn't defined in the environment 2020-07-11 22:28:20 +00:00
PoroCYon 5a42351a0e fix makefile for gcc 10 2020-07-11 22:28:20 +00:00
PoroCYon 7e384a44a6 fix smoldd 2020-07-11 22:28:20 +00:00
PoroCYon 5c38b05c85 update CFLAGS etc a bit 2020-07-11 22:28:20 +00:00
PoroCYon 4389c2e0a1 add more detailed exported symbols, useful for compressed code size listings 2020-07-11 22:28:20 +00:00
PoroCYon e0bde71bd2 show a warning if a required binary isn't found, should 'fix' #2 2020-07-11 22:28:20 +00:00
PoroCYon 48fa48e797 fix 32-bit not working 2019-08-12 22:58:11 +00:00
PoroCYon 788135c670 add fix for gcc 9.1 in the makefile, don't accept LTO input files 2019-08-12 19:18:44 +00:00
PoroCYon 2f535befa2 ... actually make it deterministic 2019-08-12 19:18:44 +00:00
PoroCYon 9f03bcf3a6 add --det flag for deterministic order of imports 2019-08-12 19:18:44 +00:00
PoroCYon 4929ec18ed
Update README.md 2019-07-27 16:55:23 +00:00
PoroCYon 5dd269d05f fix SIGBUS crashes when accessing bss data from a large .bss segment 2019-05-20 03:04:33 +02:00
PoroCYon 9ec2133545 add dependencies docs 2019-05-18 12:46:58 +00:00
PoroCYon 429ba14e8c I'm an idiot 2019-05-18 12:46:58 +00:00
PoroCYon a2e2e8f503 try to fix gcc printing localized search dir keys 2019-05-18 12:46:58 +00:00
PoroCYon 987bbab3e4 add support for relocation type 'R_X86_64_GOTPCREL' 2019-05-17 15:36:41 +00:00