27 Commits

Author SHA1 Message Date
Download-Fritz
54ae785af2 OcMachoLib: Adapt to the new MACH-O header. 2018-10-19 15:16:22 +02:00
Download-Fritz
bd943cab7d OcMachoLib: Remove a superfluous LC type check. 2018-10-19 14:59:31 +02:00
Download-Fritz
d4b592967f OcMachoLib: Bugfix for using a wrong segment size. 2018-10-19 14:59:15 +02:00
Download-Fritz
a3241dbde4 OcMachoLib: Deprecate Get*Command in favor of specific retrieval functions. 2018-10-19 14:56:38 +02:00
Download-Fritz
9806ebadbb OcMachoLib: Add missing ASSERTs to the Context init function. 2018-10-19 14:54:40 +02:00
Download-Fritz
b1bc2328ad OcMachoLib: Introduce Symtab and DySymtab retrieval functions. 2018-10-19 14:54:09 +02:00
Download-Fritz
1ce48bf040 OcMachoLib: Verify FileSize can handle at least the header and the minimal LC size. 2018-10-19 14:10:46 +02:00
Download-Fritz
c6bf9d0590 OcMachoLib: Introduce Context concept. 2018-10-19 05:55:38 +02:00
Download-Fritz
be5fdd2b83 OcMachoLib: Remove signature checks from functions that only use MachHeader as parameter to library functions that do perform that check. 2018-10-16 16:23:36 +02:00
Download-Fritz
f4222571bd OcMachoLib: Verify there is at least one lC in MachoGetFirstCommand. 2018-10-16 16:19:29 +02:00
Download-Fritz
d46983eb94 OcMachoLib: Make MachoGetNextCommand safer by checking it's entirely within the LC range. 2018-10-16 16:18:18 +02:00
Download-Fritz
a7f585e589 OchMachoLib: Fix MachoGetNextCommand for LCs have variable sizes. 2018-10-16 16:08:42 +02:00
Download-Fritz
ef78b4bb81 OcMachoLib: Make MachoGetSectionByName safer. 2018-10-15 04:33:47 +02:00
Download-Fritz
f1d68db6ad OcMachoLib: implement MachoGetSegmentByName via MachoGet*Segment. 2018-10-15 04:33:25 +02:00
Download-Fritz
3f01e2a18c OcMachoLib: Implement MachoGetLastAddress via MachoGet*Segment. 2018-10-15 04:27:07 +02:00
Download-Fritz
fb6bf6e072 OcMachoLib: Fix borked MachoGetFirstCommand. 2018-10-15 04:26:38 +02:00
Download-Fritz
b9f25bbb0b OcMachoLib: Make MachoGetNextSegment safer. 2018-10-15 04:20:02 +02:00
Download-Fritz
cb7872bc26 OcMachoLib: Implement MachoGetFirstSegment and MachoGetNextSegment via MachoGet*Command. 2018-10-15 04:14:28 +02:00
Download-Fritz
971b454b2f OcMachoLib: Implement MachoGetNextCommand64. 2018-10-15 04:14:04 +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
Download-Fritz
1e189609de OcMachoLib: Introduce slightly more error-checking. 2018-10-15 03:57:08 +02:00
Download-Fritz
ba570f2100 OcMachoLib: Remove nonsensical ASSERTs. 2018-10-15 03:57:08 +02:00
Download-Fritz
bd05dab51d OcMachoLib: Error-exit instead of ASSERT when the MACH-O signature does not match. 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
f0ef9a23a7 OcMachoLib: Remove accidentially imported function. 2018-10-14 04:37:21 +02:00
Download-Fritz
6b3c6347c8 OcMachoLib: Initial import. 2018-10-14 04:17:50 +02:00