Reverse engineering

Everything else that doesn't fall into one of the other PB categories.
FerminFdez
New User
New User
Posts: 3
Joined: Wed Jan 22, 2025 12:55 pm

Reverse engineering

Post by FerminFdez »

A few years ago I made a external module in Purebasic to do some geometry calculations in a sheet metal cutting program. Now, the client asks me for a modification but I lost the source code when I changed my computer. Is there any way to recover it from the dll, exp and lib?

Thanks
User avatar
NicTheQuick
Addict
Addict
Posts: 1519
Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:

Re: Reverse engineering

Post by NicTheQuick »

You can disassemble it but it will not result in Purebasic Code. There are some tools which try to convert stuff back to C but even that might not result in what you have coded because optimizations could have changed a lot of stuff.
Why don't you have backups?
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
FerminFdez
New User
New User
Posts: 3
Joined: Wed Jan 22, 2025 12:55 pm

Re: Reverse engineering

Post by FerminFdez »

I made this module in 2010 and in 2012 the project ended. 2 years ago I retired and cleaned my computer of old projects that I thought would never come back. 1 month ago, the company contacted me because they are still using my program and want a modification.

The cutting management program is made in Visual Foxpro, but it was slow in doing calculations because it is an interpreted language. Where VFP took 10 minutes, this PureBasic module did it in 2 or 3 seconds.

I had also done something in C, so it would not be a problem. What tools do you recommend?
ricardo_sdl
Enthusiast
Enthusiast
Posts: 141
Joined: Sat Sep 21, 2019 4:24 pm

Re: Reverse engineering

Post by ricardo_sdl »

Some tools you might wanna give a try:

https://binary.ninja/free/

https://hex-rays.com/ida-free
You can check my games at:
https://ricardo-sdl.itch.io/
miso
Enthusiast
Enthusiast
Posts: 466
Joined: Sat Oct 21, 2023 4:06 pm
Location: Hungary

Re: Reverse engineering

Post by miso »

FerminFdez
New User
New User
Posts: 3
Joined: Wed Jan 22, 2025 12:55 pm

Re: Reverse engineering

Post by FerminFdez »

OK, I'll try them. Thanks everyone.
Post Reply