VirtualBox

儲存庫 vbox 的更動 89881


忽略:
時間撮記:
2021-6-24 上午10:58:04 (4 年 以前)
作者:
vboxsync
svn:sync-xref-src-repo-rev:
145339
訊息:

Runtime/common/dbg: Implement basic debug info reader for XML files created by Ghidra's createPdbXmlFiles.bat script in order to get more accurate symbols when debugging Windows guests on hosts other than Windows due to the lack of a dbghelp.dll equivalent for accessing the debugging information inside of PDB files. This requires creating the XML files on a Windows machine with a matching set of PDB files. XML files can be loaded with the loadmap debugger command for now (automatic loading not implemented right now)

位置:
trunk/src/VBox/Runtime
檔案:
新增 1 筆資料
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Runtime/Makefile.kmk

    r89762 r89881  
    22382238        IPRT_WITH_OPENSSL \
    22392239        IPRT_WITH_XAR \
     2240        IPRT_WITH_GHIDRA_DBG_MOD \
    22402241        $(if-expr !defined(VBOX_WITH_ALT_HASH_CODE),IPRT_WITHOUT_SHA512T224 IPRT_WITHOUT_SHA512T256,)
    22412242ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86)
     
    22622263                $(patsubst common/checksum/alt-%,common/checksum/openssl-%,$(RuntimeR3_SOURCES)) ) ) \
    22632264        common/checksum/crc32-zlib.cpp \
     2265        common/dbg/dbgmodghidra.cpp \
    22642266        common/fuzz/fuzz.cpp \
    22652267        common/fuzz/fuzz-config.cpp \
  • trunk/src/VBox/Runtime/common/dbg/dbgmod.cpp

    r85124 r89881  
    285285        if (RT_SUCCESS(rc))
    286286            rc = rtDbgModDebugInterpreterRegister(&g_rtDbgModVtDbgCodeView);
     287#ifdef IPRT_WITH_GHIDRA_DBG_MOD
     288        if (RT_SUCCESS(rc))
     289            rc = rtDbgModDebugInterpreterRegister(&g_rtDbgModVtDbgGhidra);
     290#endif
    287291#ifdef RT_OS_WINDOWS
    288292        if (RT_SUCCESS(rc))
  • trunk/src/VBox/Runtime/include/internal/dbgmod.h

    r85124 r89881  
    695695extern DECL_HIDDEN_DATA(RTDBGMODVTDBG const)    g_rtDbgModVtDbgNm;
    696696extern DECL_HIDDEN_DATA(RTDBGMODVTDBG const)    g_rtDbgModVtDbgMapSym;
     697#ifdef IPRT_WITH_GHIDRA_DBG_MOD
     698extern DECL_HIDDEN_DATA(RTDBGMODVTDBG const)    g_rtDbgModVtDbgGhidra;
     699#endif
    697700#ifdef RT_OS_WINDOWS
    698701extern DECL_HIDDEN_DATA(RTDBGMODVTDBG const)    g_rtDbgModVtDbgDbgHelp;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette