Questions tagged [reverse-engineering]
According to Wikipedia, Reverse engineering is the process of discovering the technological principles of a device, object, or system through analysis of its structure, function, and operation.
35 questions
12 votes
5 answers
8k views
Is it an anti-pattern to create ORM entities based on existing database schema?
I maintain a large legacy app working with SQL database. The app uses raw SQL queries to query the database. Together with app rewrite I plan to introduce ORM to work with the database. The simplest ...
-2 votes
2 answers
415 views
Is extracting strings from an executable considered decompilation?
I am attempting to parse all possible outputs of a proprietary piece of software (ELF binary) whose license explicitly forbids reverse-engineering, decompilation and disassembly. So my question is: ...
-1 votes
1 answer
105 views
Modify a binary and account for relative jumps
Most binaries have jump and control flow instructions that are relative to other locations in the binary. For example: if I modify an instruction around 0x12341232, and there is an instruction ...
2 votes
2 answers
164 views
Make sense out of automatic information gathered from legacy system
I have a legacy system I need to plan a migration for. It's mainly developed in Ingres+4GL (an old Ingres based form system). I have the following information: Data Structures (data base relations ...
1 vote
1 answer
2k views
How to prevent users from decompiling app to find API key?
I'm currently building an Android app that uses OAuth to sign in to a service. With OAuth, I need to provide a client ID and a client secret to the service so it can identify my app. Right now, I'm ...
0 votes
1 answer
2k views
Copy a function in memory to a different location and be able to run it from the new location
How'd I go about copying a function in memory to a different location and be able to run it from the new location in C++? I thought maybe memcmp would work, but I'm not sure how I'd go about running ...
0 votes
2 answers
189 views
What are some good approaches for reading Javscript code?
I'm looking for suggestions on how to read large Javascript codebases, for example, of a framework. For example, let's say P5js, but this applies to any large framework (i.e like AngularJS, Ember, etc)...
2 votes
1 answer
383 views
How does this C++ assignment work?
I have very limited experience with C++ but I do have plenty of experience with Java and NodeJS. I've decompiled and tried to make sense of a small C++ compiled file and I've come across something ...