Home > database >  Is there a way to extract C code from a Windows .exe driver or a Mac OS driver?
Is there a way to extract C code from a Windows .exe driver or a Mac OS driver?

Time:01-10

I have a Freestyle Libre 2 blood sugar meter, and it uses a driver to upload results to the website. Unfortunately this driver is written in C and only compiled for Windows and Mac OS. I use Linux and have tried installing in a virtual machine and also using layers such as Wine. I think I am left with only one option, recompiling for Linux.

It is a USB driver for communicating with the reader, to gather and upload the data to their website.

Is there a way to extract C code from the .exe file and then recompile it to Linux after making any necessary changes to the code?

CodePudding user response:

No. You cannot extract the original source code from a compiled binary. You can reverse engineer it, though.

  •  Tags:  
  • Related