macho/macho-go/internal/wrapper/action/remove_classic_symbols.go

21 lines
416 B
Go
Raw Normal View History

2023-05-31 16:17:03 +07:00
package action
import (
. "ios-wrapper/internal/wrapper/ofile"
)
type removeClassicSymbol struct{}
func (action *removeClassicSymbol) withMacho(mf *MachoFile) error {
mf.Context().RemoveClassicSymbol()
return nil
}
func (action *removeClassicSymbol) withFat(ff *FatFile) error {
return defaultWithFat(action, ff)
}
func NewRemoveClassicSymbolAction() *removeClassicSymbol {
return &removeClassicSymbol{}
}