clean code
This commit is contained in:
@ -135,6 +135,16 @@ func (lcmd *LoadCmd) Cmdname() string {
|
||||
return "LC_DATA_IN_CODE"
|
||||
case LC_SYMTAB:
|
||||
return "LC_SYMTAB"
|
||||
case LC_BUILD_VERSION:
|
||||
return "LC_BUILD_VERSION"
|
||||
case LC_UUID:
|
||||
return "LC_UUID"
|
||||
case LC_SOURCE_VERSION:
|
||||
return "LC_SOURCE_VERSION"
|
||||
case LC_DYLD_CHAINED_FIXUPS:
|
||||
return "LC_DYLD_CHAINED_FIXUPS"
|
||||
case LC_DYLD_EXPORTS_TRIE:
|
||||
return "LC_DYLD_EXPORTS_TRIE"
|
||||
default:
|
||||
// TODO: Update
|
||||
return fmt.Sprintf("LC_DONT_KNOW_0x%x", lcmd.Cmd())
|
||||
|
Reference in New Issue
Block a user