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

21 lines
378 B
Go
Raw Normal View History

2023-06-01 17:29:23 +07:00
package action
import (
. "ios-wrapper/internal/wrapper/ofile"
)
type removeImports struct{}
func (action *removeImports) withMacho(mf *MachoFile) error {
mf.Context().RemoveBindSymbols()
return nil
}
func (action *removeImports) withFat(ff *FatFile) error {
return defaultWithFat(action, ff)
}
func NewRemoveImportsAction() *removeImports {
return &removeImports{}
}