42 Commits

Author SHA1 Message Date
PMheart
228f8ca1fb Codestyle: Apply codestyle changes with Uncrustify 2022-04-25 14:51:15 +02:00
John Davis
676ef93d9d
OcAppleKernelLib: Add 32-bit prelinking support (#122) 2020-09-29 12:41:37 +03:00
John Davis
74062d4e0f
OcAppleKernelLib: Add 32-bit Mach-O and patching support (#118) 2020-09-13 22:57:10 +03:00
vit9696
c3e14b6824
OcAppleKernelLib: Implement mkext injection support (#99) 2020-08-15 00:40:06 +03:00
Download-Fritz
ce893c085a OcMachoLib: Remove unused variable 2019-08-28 17:18:27 +02:00
Download-Fritz
27217c9a9f OcMachoLib: Revert incorrect changes from last commit 2019-08-28 17:13:51 +02:00
Download-Fritz
1c27b3a65e OcMachoLib: Prevent accidential VTable sym matches via overflow 2019-08-28 16:44:43 +02:00
Download-Fritz
b5ccf1f93b OcMachoLib: Support local relocations when getting a symbol by offset. 2019-03-26 15:34:33 +01:00
Download-Fritz
edbccbb105 OcMachoLib: Verify found symbol is a MCP before returning. 2019-03-26 07:10:34 +01:00
vit9696
af3aab4147 OcMachoLib: Fix compilation warning 2019-03-25 23:57:26 +03:00
Download-Fritz
01c867ad8e OcMachoLib: Remove unsafe VTable API. 2019-03-25 20:25:27 +01:00
Download-Fritz
6dddd23a9b OcMachoLib: Fail when ClassNames do not fit the output buffer. 2019-03-25 20:22:03 +01:00
Download-Fritz
70278f9ef8 OcMachoLib and OcAppleKernelLib: Remove superfluous symbol range checks. 2019-03-23 17:35:27 +01:00
Download-Fritz
0ce7e1ec99 OcMachoLib: Update GetSymbolByRelocOffset interface to report Relocation existance. 2019-03-23 11:51:15 +01:00
vit9696
a471bd6c61 Late touches on OcMachoLib 2019-01-17 10:01:26 +03:00
vit9696
caabf0b2ab Continue fixing and refactoring OcMachoLib 2019-01-16 17:46:10 +03:00
vit9696
69f441b5ec Restore OcMachoLib interfaces for convenience resons 2019-01-15 23:34:01 +03:00
vit9696
a43cb1386e Start cleaning up OcMachoLib 2019-01-15 18:23:29 +03:00
Download-Fritz
793b78d103 OcMachoLib: Revise several function prorotypes and checks as part of security considerations. 2019-01-12 22:57:57 +01:00
Download-Fritz
dde6882ba3 OcMachoLib: Drop inconvenient CONST qualifiers. 2019-01-05 15:37:14 +01:00
Download-Fritz
8d8dbcc6d8 OcMachoLib: Fix a few C++ symbol cosmetics. 2019-01-05 15:29:21 +01:00
Download-Fritz
1bc4c3d379 OcMachoLib: Fix possible overflows when concating C++ symbol names. 2019-01-05 15:29:13 +01:00
Download-Fritz
619e30c5ba OcMachoLib: Retrieve symbol type by name. 2018-11-09 18:50:20 +01:00
Download-Fritz
37b0e363d9 OcMachoLib: Verify the name layout for SMCP and MetaClass symbols. 2018-11-09 18:30:23 +01:00
Download-Fritz
b22cb40043 OcMachoLib: Use new OcStringLib macros for CCX symbol name handling. 2018-11-07 14:27:27 +01:00
Download-Fritz
006cb222e4 OcMachoLib: Check symbol value sanity in MachoGetMetaclassSymbolFromSmcpSymbol64(). 2018-11-04 10:38:57 +01:00
Download-Fritz
649679570a OcMachoLib: Use MachoGetSymbolName64() internally. 2018-11-04 09:55:31 +01:00
Download-Fritz
df54805a92 OcMachoLib: Always return Mach-O memory as CONST. 2018-11-04 08:42:04 +01:00
Download-Fritz
92bbf6d606 OcMachoLib: Use incomplete type completed within the library as Context. 2018-10-21 17:19:40 +02:00
Download-Fritz
d6636d80ba OcMachoLib: Return non-CONST pointers. 2018-10-21 15:08:23 +02:00
Download-Fritz
bcdddbd9ae OcMachoLib: Update MachoGetMetaclassSymbolFromSmcpSymbol64() to use the new public APIs. Removes MachoGetCxxSymbolByExternRelocation64(). 2018-10-21 14:53:18 +02:00
Download-Fritz
48ea3b19f1 OcMachoLib: Get C++ symbols via relocations only from the extern ones. 2018-10-21 14:39:04 +02:00
Download-Fritz
b932e6774d OcMachoLib: Fix C++ string manipulation code. 2018-10-21 05:48:59 +02:00
Download-Fritz
3299b3e158 OcMachoLib: Mark Context as IN OUT non-CONST. 2018-10-21 05:35:21 +02:00
Download-Fritz
2071d6643d OcMachoLib: Retrieve SYMTAB and DYSYMTAB via Context. Do not expose SYMTAB and DYSYMTAB directly. 2018-10-21 05:16:22 +02:00
Download-Fritz
5b67566e6f OcMachoLib: Fix "Mach-O" stylization. 2018-10-20 02:13:15 +02:00
Download-Fritz
2c26827077 OcMachoLib: Make OC_MACHO_CONTEXT struct private. Provide MachoGetContextSize(). 2018-10-19 18:17:12 +02:00
Download-Fritz
c6bf9d0590 OcMachoLib: Introduce Context concept. 2018-10-19 05:55:38 +02:00
Download-Fritz
364927a336 OcMachoLib: Replace CpuType with MachHeader arguments for unconditional checks are needed anyway. 2018-10-15 03:57:08 +02:00
vit9696
36da7261a1 Fix OcMachoLib compilation 2018-10-14 12:01:45 +03:00
Download-Fritz
663697ce20 OcMachoLib: Clarify symbol name functions naming. 2018-10-14 05:14:01 +02:00
Download-Fritz
6b3c6347c8 OcMachoLib: Initial import. 2018-10-14 04:17:50 +02:00