Skip to content
This repository was archived by the owner on Apr 27, 2023. It is now read-only.
This repository was archived by the owner on Apr 27, 2023. It is now read-only.

Missing many headers needed by cvdump #14

Description

@SamB

I know the README.md already says that the repository won't yet build, but I figured something more specific might be useful.

At least these headers are missing:

  • verstamp.h: used by the .rc file
  • version.h and vcver.h: Most likely not very necessary; vcver.h in particular seems irrelevant for non-integrated builds
  • cvexefmt.h: "format of CodeView information in exe" (there are some old versions floating around the web, though; evidently it has appeared in samples before)
  • _winnt2.h: Presumably a bastardized (or simply extra-fresh) version of winnt.h? We might be able to get away with using a sufficiently-fresh copy of winnt.h proper
  • ecoff.h
  • safestk.h: I'm extra certain we need this one
  • map_t.h: This one, too
  • armregs.h and arm64regs.h: I'm a bit surprised we're not missing more of these, but it looks like the symbol names for all other arches are hardcoded in dumpsym7.cpp.

(At least the register table for IA64 isn't indexed by the CV register numbers; its too bad that C++ still doesn't have designated initializers like C does...)

And also these items mentioned in cvdump.nativeproj:

    <CCompile Include="..\..\..\misc\utf8.c"/>
    <Link Include="$(OutputLibPath)mspdb$(VCToolsProdVerSuffix)$(BuildSuffix)-libcmt.lib">
        <ProjectReference>$(VCToolsRootPath)\PDB\lic\lic.nativeproj</ProjectReference>
    </Link>
    <Link Include="$(OutputLibPath)msobj$(VCToolsProdVerSuffix)$(BuildSuffix)-libcmt.lib">
        <ProjectReference>$(VCToolsRootPath)\PDB\objfile\lic\lic.nativeproj</ProjectReference>
    </Link>
    <Link Include="$(OutputLibPath)msdia$(VCToolsProdVerSuffix)$(BuildSuffix)-libcmt.lib">
        <ProjectReference>$(VCToolsRootPath)\PDB\dia2\lic\lic.nativeproj</ProjectReference>
    </Link>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions