frida / frida-rust

Frida Rust bindings
Other
176 stars 46 forks source link

Added get_device_by_id to the device_manager and example #117

Closed iteroji closed 9 months ago

iteroji commented 10 months ago

Added a convenience method to get a device by its identifier. This is most useful if you have multiple USB or network devices attached and want to work with a specific one without having to enumerate all and find the one by id.

Created a simple example that demonstrates the usage of the get_device_by_type and get_device_by_id methods.

s1341 commented 9 months ago

@iteroji please see the CI error. The test cannot be run on CI.

iteroji commented 9 months ago

@iteroji please see the CI error. The test cannot be run on CI.

I had invalid characters in rust doc causing doc test to fail. Updated it, now all tests should pass

s1341 commented 9 months ago

Needs a cargo fmt.

s1341 commented 9 months ago

And now clippy is complaining :(

iteroji commented 9 months ago

And now clippy is complaining :(

At least now I know what checks to run before PR :)

s1341 commented 9 months ago

Thanks!