-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Closed
Labels
area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
Milestone
Description
For the "clrma" APIs, we need to implement the ISOSDacInterface::GetPEFileBase DAC API
The brittle DAC version is here:
runtime/src/coreclr/debug/daccess/request.cpp
Lines 2606 to 2627 in 68d8478
| ClrDataAccess::GetPEFileBase(CLRDATA_ADDRESS moduleAddr, CLRDATA_ADDRESS *base) | |
| { | |
| if (moduleAddr == 0 || base == NULL) | |
| return E_INVALIDARG; | |
| SOSDacEnter(); | |
| PTR_Module pModule = PTR_Module(TO_TADDR(moduleAddr)); | |
| // More fields later? | |
| if (!pModule->IsReflectionEmit()) | |
| { | |
| *base = TO_CDADDR(dac_cast<TADDR>(pModule->m_baseAddress)); | |
| } | |
| else | |
| { | |
| *base = (CLRDATA_ADDRESS)NULL; | |
| } | |
| SOSDacLeave(); | |
| return hr; | |
| } |
Part of #99298
steveisok
Metadata
Metadata
Assignees
Labels
area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions