22 lines
378 B
Go
22 lines
378 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{}
|
||
|
}
|
||
|
|