add cli parsing for remove strings
This commit is contained in:
21
macho-go/internal/wrapper/action/remove_strings.go
Normal file
21
macho-go/internal/wrapper/action/remove_strings.go
Normal file
@ -0,0 +1,21 @@
|
||||
package action
|
||||
|
||||
import (
|
||||
. "ios-wrapper/internal/wrapper/ofile"
|
||||
)
|
||||
|
||||
type removeStrings struct{}
|
||||
|
||||
func (action *removeStrings) withMacho(mf *MachoFile) error {
|
||||
mf.Context().RemoveStrings()
|
||||
return nil
|
||||
}
|
||||
|
||||
func (action *removeStrings) withFat(ff *FatFile) error {
|
||||
return defaultWithFat(action, ff)
|
||||
}
|
||||
|
||||
func NewRemoveStringsAction() *removeStrings {
|
||||
return &removeStrings{}
|
||||
}
|
||||
|
Reference in New Issue
Block a user