The sorting key for placing a Comment within a specific basic block.
More...
|
| bool | operator< (const Subsort &op2) const |
| | Compare comments based on basic block, then position within the block.
|
| |
| void | setHeader (uint4 headerType) |
| | Initialize a key for a header comment.
|
| |
| void | setBlock (int4 i, uint4 ord) |
| | Initialize a key for a basic block position.
|
| |
|
|
int4 | index |
| | Either the basic block index or -1 for a function header.
|
| |
|
uint4 | order |
| | The order index within the basic block.
|
| |
|
uint4 | pos |
| | A final count to guarantee a unique sorting.
|
| |
The sorting key for placing a Comment within a specific basic block.
◆ operator<()
| bool ghidra::CommentSorter::Subsort::operator< |
( |
const Subsort & |
op2 | ) |
const |
|
inline |
Compare comments based on basic block, then position within the block.
- Parameters
-
| op2 | is the other key to compare with this |
- Returns
- true if this gets ordered before the other key
References index, order, and pos.
◆ setBlock()
| void ghidra::CommentSorter::Subsort::setBlock |
( |
int4 |
i, |
|
|
uint4 |
ord |
|
) |
| |
|
inline |
◆ setHeader()
| void ghidra::CommentSorter::Subsort::setHeader |
( |
uint4 |
headerType | ) |
|
|
inline |
The documentation for this struct was generated from the following file:
- /builds/appsec/reveng-binrw/ghidraplusplus/src/dec/comment.hh