PEReader.ReadCodeViewDebugDirectoryData(DebugDirectoryEntry) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
讀取指定的除錯目錄(Debug Directory)項目所指向的資料,並將其解讀為 CodeView。
public:
System::Reflection::PortableExecutable::CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(System::Reflection::PortableExecutable::DebugDirectoryEntry entry);
public System.Reflection.PortableExecutable.CodeViewDebugDirectoryData ReadCodeViewDebugDirectoryData(System.Reflection.PortableExecutable.DebugDirectoryEntry entry);
member this.ReadCodeViewDebugDirectoryData : System.Reflection.PortableExecutable.DebugDirectoryEntry -> System.Reflection.PortableExecutable.CodeViewDebugDirectoryData
Public Function ReadCodeViewDebugDirectoryData (entry As DebugDirectoryEntry) As CodeViewDebugDirectoryData
參數
- entry
- DebugDirectoryEntry
一個除錯目錄的項目實例。
傳回
一個程式碼檢視除錯目錄資料實例。
例外狀況
entry 不是 CodeView 的條目。
資料格式不好。
讀取底層串流時發生 IO 錯誤。
PE映像檔尚未取得。