21 lines
377 B
Go
21 lines
377 B
Go
package action
|
|
|
|
import (
|
|
. "ios-wrapper/internal/wrapper/ofile"
|
|
)
|
|
|
|
type removeExports struct{}
|
|
|
|
func (action *removeExports) withMacho(mf *MachoFile) error {
|
|
mf.Context().RemoveExportTrie()
|
|
return nil
|
|
}
|
|
|
|
func (action *removeExports) withFat(ff *FatFile) error {
|
|
return defaultWithFat(action, ff)
|
|
}
|
|
|
|
func NewRemoveExportsAction() *removeExports {
|
|
return &removeExports{}
|
|
}
|