|
Ghidra 11.4.2
Ghidra internal decompiler documentation.
|
Filter that selects for a particular parameter position. More...
#include <modelrules.hh>
Public Member Functions | |
| PositionMatchFilter (int4 pos) | |
| Constructor. | |
| virtual QualifierFilter * | clone (void) const |
| Make a copy of this qualifier. | |
| virtual bool | filter (const PrototypePieces &proto, int4 pos) const |
| Test whether the given function prototype meets this filter's criteria. | |
| virtual void | decode (Decoder &decoder) |
| Configure details of the criteria being filtered from the given stream. | |
Public Member Functions inherited from ghidra::QualifierFilter | |
| virtual | ~QualifierFilter (void) |
| Destructor. | |
Private Attributes | |
| int4 | position |
| Parameter position being filtered for. | |
Additional Inherited Members | |
Static Public Member Functions inherited from ghidra::QualifierFilter | |
| static QualifierFilter * | decodeFilter (Decoder &decoder) |
| Try to instantiate a qualifier filter. | |
Filter that selects for a particular parameter position.
This matches if the position of the current parameter being assigned, within the data-type list, matches the position attribute of this filter.
|
inlinevirtual |
Make a copy of this qualifier.
Implements ghidra::QualifierFilter.
References position.
|
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(), ghidra::Decoder::openElement(), position, and ghidra::Decoder::readSignedInteger().
|
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 position.