Is there any way to recompile binaries from x86 to ARM on linux?
10,951
- AFAIK, as of today, there's no such decompiler that will generate compilable code from machine code. You will have to manually fix (usually a LOT of fixes) the generated code. You can check this question for Linux decompilers.
- Check QEmu. Underlying architecture is not relevant as long as you can execute it ;)
- There's not much besides what you've stated.
What you're attempting is (in part) reverse engineering. RE is a complex process and requires great knowledge in the thing you're attempting to reverse; in your case camera drivers. If you have knowledge in this area, go ahead. If you don't, I wouldn't waste my time on it (or get the knowledge first ;))
Author by
Admin
Updated on June 28, 2022Comments
-
Admin almost 2 years
I'd like to collect some ideas about the solution of following problem. I've got a TOF camera, and its driver for linux x86/64. It works fine. But in fact the camera would be used on an ARM based embedded device if that's possible.
Questions:
- should I have to decompile the driver binaries and recompile with ARM compiler? is there any available decompiler tool?
- is there any ARM>>x86 emulator which is available?
- any other ideas?
ps: the pure source is very expensive, so I don't like to purchase it anyway :)