Skip to content

Commit

Permalink
Merge pull request #55 from dylanhitt/chore/rm-funcs
Browse files Browse the repository at this point in the history
Chore/rm funcs
  • Loading branch information
NSEcho authored Jan 17, 2025
2 parents e641f9a + 3544507 commit c8160be
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/examples.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- runs_on: ubuntu-latest
arch: x86_64
os: linux
frida_version: "16.3.3"
frida_version: "16.6.3"
- runs_on: macos-latest
arch: arm64
os: macos
frida_version: "16.3.3"
frida_version: "16.6.3"
runs-on: ${{ matrix.runs_on }}
env:
GOEXPERIMENT: cgocheck2
Expand Down
10 changes: 0 additions & 10 deletions frida/device.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ type DeviceInt interface {
DeviceIcon() any
DeviceType() DeviceType
Bus() *Bus
Manager() *DeviceManager
IsLost() bool
Params(opts ...OptFunc) (map[string]any, error)
ParamsWithContext(ctx context.Context) (map[string]any, error)
Expand Down Expand Up @@ -97,15 +96,6 @@ func (d *Device) Bus() *Bus {
return nil
}

// Manager returns device manager for the device.
func (d *Device) Manager() *DeviceManager {
if d.device != nil {
mgr := C.frida_device_get_manager(d.device)
return &DeviceManager{mgr}
}
return nil
}

// IsLost returns boolean whether device is lost or not.
func (d *Device) IsLost() bool {
if d.device != nil {
Expand Down
5 changes: 0 additions & 5 deletions frida/portal_membership.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ type PortalMembership struct {
mem *C.FridaPortalMembership
}

// ID returns the ID of the membership
func (p *PortalMembership) ID() uint {
return uint(C.frida_portal_membership_get_id(p.mem))
}

// Terminate terminates the session membership
func (p *PortalMembership) Terminate() error {
var err *C.GError
Expand Down

0 comments on commit c8160be

Please sign in to comment.