21 lines
374 B
Go
21 lines
374 B
Go
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{}
|
|
}
|