Expand description
Working with the resymgen
YAML format
This crate contains utilities for working with the YAML configuration files of the resymgen
(reverse engineering symbol table generator) command line tool.
The top-level library functions implement the subcommands of resymgen
. That is, they take
input files containing symbol data, process the file contents based on specified configuration
parameters, and generate output related to the symbol data in the form of console output or
files.
The data_formats
module defines structures and methods related to parsing and manipulating
raw symbol data in various formats.
Re-exports
pub use data_formats::symgen_yml::IntFormat;
pub use data_formats::symgen_yml::LoadParams;
pub use data_formats::symgen_yml::SymbolType;
pub use data_formats::InFormat;
pub use data_formats::OutFormat;
Modules
- This module contains structs and methods for reading, writing, and manipulating different symbol data formats.
Structs
- The result of a
Check
run onresymgen
YAML symbol tables. - Encapsulates a collection of similar errors for different files.
Enums
- Checks that can be run on
resymgen
YAML symbol tables. - Naming conventions for symbol names.
Functions
- Checks the format of a given
input_file
, subject to the givenint_format
. - Formats a given
input_file
using the givenint_format
. - Generates symbol tables from a given
input_file
for multiple differentoutput_formats
andoutput_versions
. - Merges symbols from a collection of
input_files
of the formatinput_format
into a givensymgen_file
. - Persist the temporary file at the target path.
- Validates a given set of
input_files
under the specifiedchecks
, and prints a summary of the results. - Validates a given
input_file
under the specifiedchecks
. - Recursively write a
SymGen
and all its subregions to files, starting with the top-level file path specified bytop_path
, and using the givenint_format
.