|
decompiler 1.0.0
|
A filter that selects function parameters that are considered optional. More...
#include <modelrules.hh>
Public Member Functions | |
| virtual QualifierFilter * | clone (void) const |
| Make a copy of this qualifier. More... | |
| virtual bool | filter (const PrototypePieces &proto, int4 pos) const |
| Test whether the given function prototype meets this filter's criteria. More... | |
| virtual void | decode (Decoder &decoder) |
| Configure details of the criteria being filtered from the given stream. More... | |
Public Member Functions inherited from ghidra::QualifierFilter | |
| virtual | ~QualifierFilter (void) |
| Destructor. | |
| virtual QualifierFilter * | clone (void) const =0 |
| Make a copy of this qualifier. More... | |
| virtual bool | filter (const PrototypePieces &proto, int4 pos) const =0 |
| Test whether the given function prototype meets this filter's criteria. More... | |
| virtual void | decode (Decoder &decoder) |
| Configure details of the criteria being filtered from the given stream. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from ghidra::QualifierFilter | |
| static QualifierFilter * | decodeFilter (Decoder &decoder) |
| Try to instantiate a qualifier filter. More... | |
A filter that selects function parameters that are considered optional.
If the underlying function prototype is considered to take variable arguments, the first n parameters (as determined by PrototypePieces.firstVarArgSlot) are considered non-optional. If additional data-types are provided beyond the initial n, these are considered optional. This filter returns true for these optional parameters
|
inlinevirtual |
|
virtual |
Configure details of the criteria being filtered from the given stream.
| decoder | is the given stream decoder |
Reimplemented from ghidra::QualifierFilter.
References ghidra::Decoder::closeElement(), and ghidra::Decoder::openElement().
|
virtual |
Test whether the given function prototype meets this filter's criteria.
| proto | is the high-level description of the function prototype to test |
| pos | is the position of a specific output (pos=-1) or input (pos >=0) in context |
Implements ghidra::QualifierFilter.
References ghidra::PrototypePieces::firstVarArgSlot.