Exemplo n.º 1
0
 std::string GetModuleName() const
 {
   // OffsetModuleName should never be zero, but apparently it's possible to
   // have some files where it is zero anyway... Probably because the timestamp
   // is intentionally invalid so it's never matched. For now, just ignore
   // this case and hope for the best.
   return detail::CheckedReadString<char>(
     *process_, *pe_file_, start_ + GetOffsetModuleName());
 }
Exemplo n.º 2
0
 std::string GetModuleName() const
 {
   return detail::CheckedReadString<char>(
     *process_, *pe_file_, start_ + GetOffsetModuleName());
 }