How to explore the symbols of a dcu files in Delphi IDE?
Asked Answered
D

1

16

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.)

Drove answered 14/12, 2012 at 7:27 Comment(3)
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.Emileemilee
Maybe pas a module file to an api service that can retrieve the information about the file ? IOTACodeInsightManager?Emileemilee
IOTACodeInsightManager provides limited information about "valid" symbol list at certain position of a edit view.Drove
H
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.

Heteropterous answered 14/12, 2012 at 10:2 Comment(1)
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.)Drove

© 2022 - 2024 — McMap. All rights reserved.