Example #1
0
gtVAddr BaseStackWalkContext::GetImageLoadAddress(gtVAddr virtualAddr, gtVAddr& baseAddr) const
{
    assert(NULL != m_pWorkingSet);
    gtVAddr loadAddr;
    ExecutableFile* pExe = m_pWorkingSet->FindModule(virtualAddr);

    if (NULL != pExe)
    {
        baseAddr = pExe->GetImageBase();
        loadAddr = pExe->GetLoadAddress();
    }
    else
    {
        baseAddr = 0ULL;
        loadAddr = 0ULL;
    }

    return loadAddr;
}
Example #2
0
gtVAddr BaseStackWalkContext::GetImageLoadAddress(gtVAddr virtualAddr) const
{
    assert(NULL != m_pWorkingSet);
    ExecutableFile* pExe = m_pWorkingSet->FindModule(virtualAddr);
    return (NULL != pExe) ? pExe->GetLoadAddress() : 0ULL;
}