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

64-bit programs cannot read 32-bit processes #9

Open
806854015 opened this issue Dec 20, 2022 · 6 comments
Open

64-bit programs cannot read 32-bit processes #9

806854015 opened this issue Dec 20, 2022 · 6 comments

Comments

@806854015
Copy link

hello
I want to read the 32-bit process by compiling the 64-bit go-firda, but the message is that the 32-bit process cannot be read. May I ask if there is any other solution without switching the 32-bit go-firda compilation?

@NSEcho
Copy link
Member

NSEcho commented Dec 20, 2022

What is the error you get

@806854015
Copy link
Author

FError: Unable to handle 32-bit processes due to build configuration

What is the error you get

FError: Unable to handle 32-bit processes due to build configuration

@NSEcho
Copy link
Member

NSEcho commented Dec 20, 2022

What is your os architecture and which devkit architecture did you download

@oleavr
Copy link
Member

oleavr commented Dec 20, 2022

This is caused by Frida's CI no longer building 64-bit Linux binaries with cross-arch (32-bit) support. It is possible to do this yourself, and generate a devkit to use with frida-go — by running releng/devkit.py. (I'm taking note of this though, if it keeps getting requested we should consider re-enabling cross-arch in our CI. The only drawback is that it will make binaries larger for everyone, including the users who don't need it.)

@NSEcho NSEcho changed the title [FEATURE]64-bit programs cannot read 32-bit processes 64-bit programs cannot read 32-bit processes Dec 20, 2022
@806854015
Copy link
Author

FError: Unable to handle 32-bit processes due to build configuration

System used is centos 64-bit go environment 64-bit, when getting a 32-bit process will prompt "Unable to handle 32-bit processes due to build configuration" so my idea is not to switch 32-bit go environment, whether there is a way to solve?

@806854015
Copy link
Author

This is caused by Frida's CI no longer building 64-bit Linux binaries with cross-arch (32-bit) support. It is possible to do this yourself, and generate a devkit to use with frida-go — by running releng/devkit.py. (I'm taking note of this though, if it keeps getting requested we should consider re-enabling cross-arch in our CI. The only drawback is that it will make binaries larger for everyone, including the users who don't need it.)

OK, since 64 and 32 can not be used interchangeably, I want to change my mind and compile to go. So Dynamic Library, and then let the program to introduce dynamic library to modify, but ask whether there is a frdia-go dynamic library case, otherwise I simply generated. So he's got no hook effect

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

3 participants