Commit d01e768
committed
[idb_import] Probe enum altval directly instead of gating on operand flag
The previous pass only considered an operand for enum display when its
operand-representation flag read back as Enum. IDA records the referenced
enumeration in a separate altval, independent of that nibble, so operands
such as the immediate of `orr w8, w8, #imm` carry an enum reference the flag
does not reflect and were skipped. Probe op_enum_type for operands 0 and 1
directly; it resolves to None when no enum is referenced, so the probe is
self-gating and now recovers every enum-displayed operand.1 parent 6edeedb commit d01e768
1 file changed
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
439 | 439 | | |
440 | 440 | | |
441 | 441 | | |
442 | | - | |
| 442 | + | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | 448 | | |
449 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
450 | 458 | | |
451 | 459 | | |
452 | | - | |
453 | | - | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | | - | |
| 460 | + | |
459 | 461 | | |
460 | 462 | | |
461 | 463 | | |
| |||
0 commit comments