We know that the specification of Dcu files is a secret and it will be changed every version. Is there ANY POSSIBLE way to explore the symbols in a dcu file in Delphi IDE? (Instead of using a decompile library such as DCU32INT project.)
Asked
Active
Viewed 1,698 times
16
-
Baoquan Zuo, did you find something ? As you, I don't want to decompile the DCU, if there is something in OTA that can do It, it'll be very good. I'm creating a project to replace the Delphi Uses import, and I need to know what is on interface of DCU, to make the user able to search it. – Rodrigo Farias Rezino Feb 18 '16 at 13:16
-
Maybe pas a module file to an api service that can retrieve the information about the file ? IOTACodeInsightManager? – Rodrigo Farias Rezino Feb 18 '16 at 13:33
-
IOTACodeInsightManager provides limited information about "valid" symbol list at certain position of a edit view. – Baoquan Zuo Feb 27 '16 at 07:17
1 Answers
1
Here is an attempt using Delphi7, and there exists a DCU32INT utility by Alexei Hmelnov. Reverse engineering only the DCU might be difficult, but inspecting the executable might help. Someone tried IDA, and an 'IDA Loader for Delphi/Builder 32-bit units (.DCU) by RedPlait with source' is mentioned here, Googling it I found this.

Jan Doggen
- 8,799
- 13
- 70
- 144
-
Thanks for the information! However, it is the last choice since the decompile is really a hack and dirty work. (Especially when support all platforms dcus are required.) – Baoquan Zuo Dec 14 '12 at 14:13