0x01 · inside the exe
What is stored inside a Delphi .exe
- Complete forms. Each form is a resource inside the
.exe, with every component, size, caption, font and event binding. - Class and event names. Type information (RTTI) keeps names such as
TOrderFormandbtnSaveClick. That gives a map of the system from day one. - Component SQL. SQL written in properties of components such as
TQuery,TADOQueryorTIBQuerylives in the form and comes back exactly as written. - Strings and messages. Error and confirmation messages help identify each business rule.
What isn't stored: the body of each routine, compiled to machine code. It comes back as pseudocode, and that is where the rebuild work is, with business names and equivalence tests.