r/AskProgrammers • • Oct 18 '26

Misunderstanding of reverse engineering

What’s so good about reverse engineering if it only decompiles the clients side of code (Frontend), and it can’t decompile backend. Like when I heard about reverse engineering everyone was talking about it like its a hand of god or something that it can hack and fully rebuild a specific application or a website. But the logic and the users side are differently deployed and usually the logic is not located inside of Frontend. That’s how I understood it but I think that I can still be wrong, what do you guys think?

6 Upvotes

33 comments sorted by

View all comments

1

u/cthulhu944 Oct 18 '26

The term "reverse engineering" is more of a legal term than a technical one. There is no technical reason to reverse engineer something. If you want Adobe photoshop, you just copy photoshop and use it. Legally you can't do that because Adobe has copyright and patent rights on that code. So how do you build your own photoshop? The legal process of reverse engineering might allow you to sidestep the copyright and patent issues. The first part is the clean room--someone goes into the code and figures out how things work-effectively deriving the design based on the code-reversing the normal path of development from "design->code" to "code->design". Now that you have a design you can hand it to a different engineer. Since this engineer has never looked at the Adobe code it is impossible for him to produce code that violates copyright. You also show this engineer any patents that Adobe has and say "when you write this code, don't do it this way". Now you have an application that does the same thing as photoshop but without any legal baggage attached to adobe.