Ghidra Decompiler Analysis Engine
Public Member Functions | List of all members
SymbolCompareName Class Reference

Comparator for sorting Symbol objects by name. More...

#include <database.hh>

Public Member Functions

bool operator() (const Symbol *sym1, const Symbol *sym2) const
 Compare two Symbol pointers. More...
 

Detailed Description

Comparator for sorting Symbol objects by name.

Member Function Documentation

◆ operator()()

bool SymbolCompareName::operator() ( const Symbol sym1,
const Symbol sym2 
) const
inline

Compare two Symbol pointers.

Compare based on name. Use the deduplication id on the symbols if necessary

Parameters
sym1is the first Symbol
sym2is the second Symbol
Returns
true if the first is ordered before the second

The documentation for this class was generated from the following file: