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 {
|
2023-06-15 10:41:18 +07:00
|
|
|
mf.Context().RemoveSymbolTable()
|
2023-05-31 16:17:03 +07:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (action *removeClassicSymbol) withFat(ff *FatFile) error {
|
|
|
|
return defaultWithFat(action, ff)
|
|
|
|
}
|
|
|
|
|
|
|
|
func NewRemoveClassicSymbolAction() *removeClassicSymbol {
|
|
|
|
return &removeClassicSymbol{}
|
|
|
|
}
|