Commit Graph

7442 Commits

Author SHA1 Message Date
boykopovar dd2481951d feat(elfpatcher): add dt_runpath libs/ support with configurable --rpath flag 2026-08-20 11:01:34 +03:00
boykopovar f786ea6576 fix(elfpatcher): use original dt pltgot vaddr 2026-08-20 09:41:34 +03:00
boykopovar 8236d4e1a2 fix(patcher): keep zero-vaddr code segment and fix stub entry vaddr 2026-08-19 15:40:57 +03:00
boykopovar f84e67f2b1 docs(readme): add current status block to md readme 2026-08-18 20:11:07 +03:00
boykopovar 4147ca1f4c fix(patcher): preserve offset alignment for extra block vaddr 2026-08-18 19:04:48 +03:00
boykopovar 201c4f1d44 fix(patcher): compute virtual addresses for extra block 2026-08-18 18:59:27 +03:00
boykopovar 948017d734 fix(relinker): add dt pltgot to .dynamic + append elf sym write 24 bytes 2026-08-12 13:46:47 +03:00
boykopovar b62ffe327d feat(code): show count of repalced instructions 2026-08-05 13:57:10 +03:00
boykopovar 8c44cf4a52 feat(cli): cli flag for amd to intel convertion 2026-08-05 13:30:03 +03:00
boykopovar c4e4b6112a feat(code): add spec amd instructions to intel convert infrastructure 2026-08-05 13:18:09 +03:00
boykopovar fca8b8d7eb fix(code): add extrq decoding 2026-08-05 12:41:18 +03:00
boykopovar 1cc102f593 fix(code): fix branch offset recalculation after code removal 2026-08-05 11:09:00 +03:00
boykopovar c3e7b4c14a fix(code): decode setcc, evex, x87, of38/3a, shld/shrd + fix c1/of a4 immediate size bugs 2026-08-05 10:49:02 +03:00
boykopovar ab78ae90e2 fix(code): support vex prefix and imul decoding 2026-08-04 23:16:33 +03:00
boykopovar aeb9adfb33 refactor(code): move decoder opcodes to constexpr in header 2026-08-04 22:32:04 +03:00
boykopovar c14c1467c0 feat(code): throw exception for invalid instruction 2026-08-04 22:27:12 +03:00
boykopovar 2ac8a96d70 feat(code): add instruction rewriter implementation 2026-08-04 22:16:55 +03:00
boykopovar 88fca26a28 refactor(scanner): move scanner from relinker to separated module 2026-08-04 15:28:10 +03:00
boykopovar 9c7570176f refactor(patcher): move magic numbers to headers constexpr 2026-08-04 14:51:08 +03:00
boykopovar 0a44083bbf refactor(patcher): separate linux and windows elf patchers 2026-08-04 14:29:32 +03:00
boykopovar 007ba188bb feat(relinker): simplify got address resolution + validate entry sizes 2026-08-04 13:54:16 +03:00
boykopovar be508d9647 fix(relinker): validate dt_os/dt dynamic tags 2026-08-04 13:35:52 +03:00
boykopovar 39ae562b51 feat(core): relocation tables from pt dynamic instead of hardcoded offset 2026-08-04 13:32:22 +03:00
boykopovar 7689e85d8f refactor(patcher): folders structure for elfpatcher + byte writing di 2026-08-04 10:26:33 +03:00
boykopovar 516f13c327 fix(patcher): verify header block fits before first pt load 2026-08-04 09:49:09 +03:00
boykopovar 49f855cd4b refactor(core): describe original program headers with pt phdr 2026-08-04 09:45:09 +03:00
boykopovar 4f9316d7d7 fix(core): add pt phdr for relocated program headers 2026-08-04 09:36:52 +03:00
boykopovar 0193d5f655 fix(patcher): fix segments for success gdb recognizing 2026-08-04 02:02:03 +03:00
boykopovar 0fe6ad11f4 refactor(core): remove extra targets and cmake lists 2026-08-04 01:24:23 +03:00
boykopovar 850eae37eb refactor(core): separate io from domain logic + di 2026-08-04 00:28:58 +03:00
boykopovar e451fde738 fix(patcher): skip pt note and null-page pt load headers 2026-08-03 23:28:43 +03:00
boykopovar b05f877e15 feat(patcher): gen pt interp + executable entry stub 2026-08-03 23:04:11 +03:00
boykopovar 5718f6931a fix(patcher): create pt load segment for dynamic block 2026-08-03 22:53:39 +03:00
boykopovar 6b6004d974 refactor(relinker): clean arch + remove pipelines from main.cpp 2026-08-03 22:36:29 +03:00
boykopovar a4e7d3028e feat(relink): save output linux elf after checking (wip) 2026-08-03 22:13:15 +03:00
boykopovar 6b3deed7e4 fix(scanner): fix false positive fail from naive byte scan for syscall(wip) 2026-08-03 21:38:06 +03:00
boykopovar fe600cb641 fix(header): support pt dynamic import resolution 2026-08-03 21:32:01 +03:00
boykopovar 340a321cbe fix(header): fix read section headers 2026-08-03 21:22:07 +03:00
boykopovar 4d8fc76ff7 refactor(core): add some nodiscard and const 2026-08-03 21:05:36 +03:00
boykopovar 2654c8eb4b fix(types): update type names to fix bug with gcc 2026-08-03 20:40:27 +03:00
boykopovar 8a7c7c4e0d feat(log): add call reg writer 2026-08-03 20:27:55 +03:00
boykopovar 657ada06b3 initial commit 2026-08-03 20:02:52 +03:00