Commit Graph

22 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 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
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 b71b15b572 automatically adapt end-of-hashes check width to the symbols used (closes #6) 2020-08-24 05:21:00 +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 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 cccd9656de lots of stuff, see detailed desc.
* reorganize the project structure a bit (sorry not sorry :P)
  * src/ -> test/
  * ldr/ -> src/, ld/
  * mksyms -> smol.py (and smol*.py)
* clean up and make the python script a bit less hacky
* optimize the loader code (there can still be done more, though)
* preserve the stack so argc, argv and envp can be read
* more stuff
2019-02-27 23:23:10 +00:00
Shiz d87b11a6c8 Simplify and remove questionable defaults. 2018-04-12 01:05:42 +02:00
Shiz 6081557aa2 epoch 2018-04-12 00:14:36 +02:00