00001 00012 #include "symbol_functors.h" 00013 00014 bool less_symbol::operator()(symbol_entry const & lhs, 00015 symbol_entry const & rhs) const 00016 { 00017 if (lhs.image_name != rhs.image_name) 00018 return lhs.image_name < rhs.image_name; 00019 00020 if (lhs.app_name != rhs.app_name) 00021 return lhs.app_name < rhs.app_name; 00022 00023 if (lhs.name != rhs.name) 00024 return lhs.name < rhs.name; 00025 00026 if (lhs.sample.vma != rhs.sample.vma) 00027 return lhs.sample.vma < rhs.sample.vma; 00028 00029 return lhs.size < rhs.size; 00030 }