Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dyld cache] Support CodeSignature #95

Closed
p-x9 opened this issue Jul 6, 2024 · 1 comment · Fixed by #104
Closed

[dyld cache] Support CodeSignature #95

p-x9 opened this issue Jul 6, 2024 · 1 comment · Fixed by #104

Comments

@p-x9
Copy link
Owner

p-x9 commented Jul 6, 2024

uint64_t    codeSignatureOffset;    // file offset of code signature blob
uint64_t    codeSignatureSize;      // size of code signature blob (zero means to end of file)
@p-x9
Copy link
Owner Author

p-x9 commented Jul 6, 2024

let data = cache.fileHandle.readData(
    offset: cache.header.codeSignatureOffset,
    size: Int(cache.header.codeSignatureSize)
)
let codeSign = MachOFile.CodeSign(data: data)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant