CodeSigCmd is Mach-O LC_CODE_SIGNATURE load command.
| 159 | |
| 160 | // CodeSigCmd is Mach-O LC_CODE_SIGNATURE load command. |
| 161 | type CodeSigCmd struct { |
| 162 | Cmd uint32 // LC_CODE_SIGNATURE |
| 163 | Cmdsize uint32 // sizeof this command (16) |
| 164 | Dataoff uint32 // file offset of data in __LINKEDIT segment |
| 165 | Datasize uint32 // file size of data in __LINKEDIT segment |
| 166 | } |
| 167 | |
| 168 | func FindCodeSigCmd(f *macho.File) (CodeSigCmd, bool) { |
| 169 | get32 := f.ByteOrder.Uint32 |
nothing calls this directly
no outgoing calls
no test coverage detected