User Details
- User Since
- Sep 14 2021, 1:39 PM (72 w, 3 d)
Oct 28 2021
Oct 25 2021
Constexpr C strings
Oct 18 2021
I expanded updateLoadCommandIndexes to update the CodeSignatureCommandIndex and TextSegmentCommandIndex values. In the new test, I check that the text segment size and offset values included in the code signature header are accurate. I also added asserts to make sure TextSegmentCommandIndex does in fact point to the correct load command, and not just another segment load command with identical size and offset. I was unable to get the text segment offset to change (it remains at 0 even after inserting more commands), but I think this is expected and so long as TextSegmentCommandIndex is accurate, the rest should also be accurate.
Update updateLoadCommandIndexes to include TextSegment/CodeSignature commands, add test inserting load command shifting load commands around
Oct 12 2021
Oct 8 2021
Copy test script, remove getSegment* declarations, add const ref getter
Oct 7 2021
Remove "Section" in variable names, move CodeSignature to MachOLayoutBuilder, move text segment helpers
Oct 5 2021
Sep 17 2021
Correct output file name resolution for windows
Sep 16 2021
Construct object::CodeSignature object once
Use FileCheck variables in test
Sep 15 2021
Restore static asserts
Satisfy clang-tidy / clang-format
Correct docstring argument description
Fix stray comment, rearrange type definition and clean up static asserts
Address shebang, comment and spacing related feeback
Remove new test, now included in separate patch