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

Listing processes from all devices causes accces violation #148

Open
muniategui opened this issue Sep 6, 2024 · 0 comments
Open

Listing processes from all devices causes accces violation #148

muniategui opened this issue Sep 6, 2024 · 0 comments

Comments

@muniategui
Copy link

If you get a handler to device manager, enumerate_all_devices, and then you iterate over the processes of the devices with enumerate_processes, the enumeration will crash in GDB Remote Stub. It also crash with Local Socket. (So probably if the device type is remote enumarate_process cause the acces violation)

let device = device_manager.get_device_by_type(frida::DeviceType::Remote).unwrap();

for process in device.enumerate_processes() {
    println!("Name: {}", process.get_name());
}

The code above will crash with (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

Commenting the println! still makes it crashs so my guess is that is the enumerate_processes() crashes on remote devices.

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

No branches or pull requests

1 participant