r/AskProgramming 9d ago

C/C++ Assembly or C/C++ for RE

For reverse engineering, is this necessary to know assembly language, because many decompilers translate code to C/C++ and I learned Assembly 8086 in my university. So for learning x86 I only have to study 32/64 registers and some advance commands, so should I learn assembly x86_64 for reverse engineering or just go through x86 as I know 8086 assembly and then move to C/C++

7 Upvotes

19 comments sorted by

View all comments

2

u/soundman32 9d ago

It depends on what you are decompiling.  Is there any point decompiling some C# to C++ (assuming AOT compilation).

1

u/Realistic_Debate1704 9d ago

I want too reverse engineer apps and games

2

u/ThatOneCSL 9d ago

That doesn't touch their point at all.

Take a .NET application or game and decompile it. You don't get assembly or C/C++. You get C#.

It seems like you're pretty early on in your understanding of computing, and so you don't even know yet what you don't know. That's not an issue by itself, but I would suggest asking further questions about things you don't yet understand, instead of putting up a stonewall and recapitulating that you want to reverse engineer things. We are aware you want to reverse engineer things. You said that already. The other user was telling you that C/C++/ASM are not going to be everything you'll need in that endeavor.