
Combined source/disassembly listing files
Quote:
> > I would like to generate at compile/link time a combined source
> > code/disassembly listing file for each OBJ file in my EXEs/DLLs, like
> > what I see in the de{*filter*} when stopped at a break point with the
> > "Disassembly" window displayed
> In the project settings, you can specify several different combinations
> of "Listings", including one with the source and assembly combined.
Yes, those settings control the /FA compiler flag, and /FAcs includes
both source, assembly, and machine code. However, the addresses
specified in the listing file are not the same as those that appear in
the Disassembly output in the de{*filter*}; they are all zero-based in the
individual .OBJ files, instead of based on the actual addresses in the
.EXE or .DLL. The address is the critical part---when my app crashes
on a customer's machine, I trap the exception and log the address, and
I'd like to be able to look up the exact line of code in an archive of
listing files I will create when make each release.
The solution I need has to come from LINK, DUMPBIN, or some other tool
that operates on EXEs/DLLs.
Thanks,
Barry