Download-Fritz
|
b74e10e066
|
OcMachoLib: Drop the "minimal LC size" check.
It is implicitly covered by the checks below and worsens performance of valid binaries in favor of increasing it for invalid ones.
|
2018-10-21 11:58:21 +02:00 |
|
Download-Fritz
|
a5f7f6bed9
|
OcMachoLib: Verify the entire LC header is within the binary on Context init.
|
2018-10-21 11:41:14 +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
|
339b36686b
|
OcMachoLib: Turn GetSymbolByName into a private API. Different subsections shall be accessed by dedicated APIs.
|
2018-10-20 14:51:21 +02:00 |
|
Download-Fritz
|
5b67566e6f
|
OcMachoLib: Fix "Mach-O" stylization.
|
2018-10-20 02:13:15 +02:00 |
|
Download-Fritz
|
53178770a0
|
OcMachoLib/Header: Introduce more sanity checks.
|
2018-10-20 02:10:41 +02:00 |
|
Download-Fritz
|
b38e572c80
|
OcMachoLib: Remove redundant symbol casts.
|
2018-10-20 01:33:04 +02:00 |
|
Download-Fritz
|
6015bce8d7
|
OcMachoLib: Update Get*Symtab naming scheme.
|
2018-10-20 01:32:44 +02:00 |
|
Download-Fritz
|
e54de715d4
|
OcMachoLib: Adapt to the new Mach-O header.
|
2018-10-20 01:29:37 +02:00 |
|
Download-Fritz
|
22c2cb9b44
|
OcMachoLib: Allow header to have more space than needed reserved for LCs.
|
2018-10-20 00:23:43 +02:00 |
|
Download-Fritz
|
fbc5310bc9
|
OcMachoLib: Fix address range check.
|
2018-10-19 23:56:30 +02:00 |
|
Download-Fritz
|
923cbb6bdb
|
OcMachoLib: Drop missed invalid ASSERT.
|
2018-10-19 23:17:11 +02:00 |
|
Download-Fritz
|
ee9296b25d
|
OcMachoLib: Fix typo in name comparison.
|
2018-10-19 23:14:39 +02:00 |
|
Download-Fritz
|
2c26827077
|
OcMachoLib: Make OC_MACHO_CONTEXT struct private. Provide MachoGetContextSize().
|
2018-10-19 18:17:12 +02:00 |
|
Download-Fritz
|
0247641371
|
OcMachoLib: Deprecate GetFirstSegment/Section to simplify the future control flow.
|
2018-10-19 15:27:11 +02:00 |
|
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
|
f494d1e1f4
|
Drop print lib
|
2018-10-14 20:12:03 +03: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 |
|
Download-Fritz
|
466b43833e
|
Remove "Hdr" structs introduced with the one-sized array hack.
|
2018-10-12 16:07:02 +02:00 |
|
Download-Fritz
|
2527fc9c75
|
Use flexible arrays to avoid UB.
This partially reverts 8949a65027. C99, 6.5.6 7) has not been considered.
|
2018-10-11 17:18:00 +02:00 |
|
Download-Fritz
|
47a58c76f5
|
Update copyright information.
|
2018-10-11 16:52:06 +02:00 |
|
Download-Fritz
|
d44e923f5c
|
OcDevicePropertyLib: Restore variable functionality.
This partially reverts e4d55a4f77
|
2018-10-11 16:13:04 +02:00 |
|
Download-Fritz
|
8949a65027
|
Replace one-sized arrays with one member (flexible array hack) to avoid UB.
Reference: https://wiki.sei.cmu.edu/confluence/display/c/DCL38-C.+Use+the+correct+syntax+when+declaring+a+flexible+array+member
|
2018-10-11 15:58:08 +02:00 |
|