|
Ghidra 11.4.2
Ghidra internal decompiler documentation.
|
A class for annotating and sorting the individual cases of the switch. More...
Static Public Member Functions | |
| static bool | compare (const CaseOrder &a, const CaseOrder &b) |
| Compare two cases. | |
Public Attributes | |
| FlowBlock * | block |
| The structured case block. | |
| const FlowBlock * | basicblock |
| The first basic-block to execute within the case block. | |
| uintb | label |
| The label for this case, as an untyped constant. | |
| int4 | depth |
| How deep in a fall-thru chain we are. | |
| int4 | chain |
| Who we immediately chain to, expressed as caseblocks index, -1 for no chaining. | |
| int4 | outindex |
| Index coming out of switch to this case. | |
| uint4 | gototype |
| (If non-zero) What type of unstructured case is this? | |
| bool | isexit |
| Does this case flow to the exit block. | |
| bool | isdefault |
| True if this is formal default case for the switch. | |
A class for annotating and sorting the individual cases of the switch.
|
inlinestatic |
Compare two cases.
Cases are compared by their label
| a | is the first case to compare |
| b | is the second |
Referenced by ghidra::BlockSwitch::finalizePrinting().