Opened 11 years ago

Last modified 11 years ago

#82 new enhancement

kDepObj: Parse object files for dependencies

Reported by: bird Owned by: bird
Priority: major Milestone: 0.3.0
Component: kDep Version:
Keywords: OMF Watcom Borland MASM OBJ kDep kDepObj Cc:


Some object files may contain dependency information and it would be good to extract it. The Watcom and Borland compiler emits COMMENT class 0xE9 records containing dependency info with a low resolution time stamp. MASM emits THEADR records for each include file it encounters if told to emit line number information (/Zd) or symbolic debug info (/Zi) (OMF format at least). Other compilers, assemblers and object formats should be investigated as necessary.

Change History (2)

comment:2 Changed 11 years ago by bird

(In [2267]) kDepObj: Taught it how to parse .debug$S section and find the source file info. CV8 and Visual C++ 2005 and later (+YASM). Not quite polished up yet, work in progress. References #82.

Note: See TracTickets for help on using tickets.