Units are compiled into DCU's. If the sourcecode for a unit is not available, then the compiler uses the DCU instead.
Units are compiled into DCU's. If the sourcecode for a unit is not available, then the compiler uses the DCU instead.
Is there a way/tool to extract/reconstruct the interface part of a unit from the dcu?
I'm working on building a symbol table using DelphiAST, but I need to deal with scenario's where there is only a dcu file and no source.
I found DCU32INT: http://hmelnov.icc.ru/DCU/index.eng.html, but haven't had a chance to test it out yet. Does anyone have experience with this tool or know of other resources?
Yes, I know about https://github.com/RomanYankovsky/DelphiAST/tree/symbol-table, but I'm building something more like: https://www.tutorialspoint.com/compiler_design/compiler_design_symbol_table.htm
https://github.com/RomanYankovsky/DelphiAST/tree/symbol-table
Is there a way/tool to extract/reconstruct the interface part of a unit from the dcu?
I'm working on building a symbol table using DelphiAST, but I need to deal with scenario's where there is only a dcu file and no source.
I found DCU32INT: http://hmelnov.icc.ru/DCU/index.eng.html, but haven't had a chance to test it out yet. Does anyone have experience with this tool or know of other resources?
Yes, I know about https://github.com/RomanYankovsky/DelphiAST/tree/symbol-table, but I'm building something more like: https://www.tutorialspoint.com/compiler_design/compiler_design_symbol_table.htm
https://github.com/RomanYankovsky/DelphiAST/tree/symbol-table
CnPack have working updated DCU32Int - github.com - cnwizards
ReplyDelete/sub
ReplyDeleteyes you can use RTTI
ReplyDelete