Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added get_device_by_id to the device_manager and example #117

Merged
merged 4 commits into from
Dec 14, 2023

Conversation

iteroji
Copy link
Contributor

@iteroji iteroji commented Nov 18, 2023

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
Copy link
Contributor

s1341 commented Dec 13, 2023

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

@s1341 s1341 closed this Dec 13, 2023
@s1341 s1341 reopened this Dec 13, 2023
@iteroji
Copy link
Contributor Author

iteroji commented Dec 13, 2023

@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
Copy link
Contributor

s1341 commented Dec 13, 2023

Needs a cargo fmt.

@s1341
Copy link
Contributor

s1341 commented Dec 13, 2023

And now clippy is complaining :(

@iteroji
Copy link
Contributor Author

iteroji commented Dec 13, 2023

And now clippy is complaining :(

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

@s1341 s1341 merged commit a4482a2 into frida:main Dec 14, 2023
15 checks passed
@s1341
Copy link
Contributor

s1341 commented Dec 14, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants