Skip to content

1.1.0 - Config file & auto-merging

Choose a tag to compare

@tremwil tremwil released this 06 Sep 00:55
· 5 commits to master since this release
  • Added a configuration file
  • Loads defs that were already generated and use them as a base. To do so, it adds a new attribute TypeConfidence to the XML Field nodes, but this can be disabled in the config. Be aware that disabling it may lead to a weaker guess being chosen if a conflict occurs.
  • Will now dump accessing instructions in an XML comment above the paramdef field (configurable)
  • Once their purpose is understood, deduced fields can be renamed in the XML paramdef to "finalize" them. A different type can also be assigned. This is a full paramdef parser, so it'll also support types like fixstr, arrays, splitting deduced u8 fields as bitfields, and the child nodes of your custom Field nodes will not be deleted.
  • Dumps accessing instructions that were discarded due to being SIMD loads (and thus likely part of a copy operation), in case manual inspection of the code is useful.
  • If the accessing instruction is using SIB addressing, marks the field as a one-element array. This is because such instructions are usually emitted when accessing contiguous elements sequentially in a loop, so it indicates that untyped fields after it may be part of an array-like structure (e.g. spEffect0, spEffect1, spEffect2, etc.)