コード例 #1
0
ファイル: Address.cpp プロジェクト: carlokok/lldb
// The operator != checks for exact inequality only (differing section, or
// different offset)
bool
lldb_private::operator!= (const Address& a, const Address& rhs)
{
    return  a.GetSection() != rhs.GetSection() ||
            a.GetOffset()  != rhs.GetOffset();
}
コード例 #2
0
ファイル: Address.cpp プロジェクト: carlokok/lldb
// The operator == checks for exact equality only (same section, same offset)
bool
lldb_private::operator== (const Address& a, const Address& rhs)
{
    return  a.GetSection() == rhs.GetSection() &&
            a.GetOffset()  == rhs.GetOffset();
}
コード例 #3
0
ファイル: raw_loader.hpp プロジェクト: episeclab/medusa
 virtual void            Translate(Address const& rVirtlAddr, TOffset& rOffset)
 { rOffset = rVirtlAddr.GetOffset(); }