#include <z3dk_wrapper.h>
Definition at line 57 of file z3dk_wrapper.h.
◆ Z3dkWrapper() [1/3]
| yaze::core::Z3dkWrapper::Z3dkWrapper |
( |
| ) |
|
|
default |
◆ ~Z3dkWrapper()
| yaze::core::Z3dkWrapper::~Z3dkWrapper |
( |
| ) |
|
|
default |
◆ Z3dkWrapper() [2/3]
| yaze::core::Z3dkWrapper::Z3dkWrapper |
( |
const Z3dkWrapper & | | ) |
|
|
delete |
◆ Z3dkWrapper() [3/3]
| yaze::core::Z3dkWrapper::Z3dkWrapper |
( |
Z3dkWrapper && | | ) |
|
|
defaultnoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ Initialize()
| absl::Status yaze::core::Z3dkWrapper::Initialize |
( |
| ) |
|
◆ Shutdown()
| void yaze::core::Z3dkWrapper::Shutdown |
( |
| ) |
|
|
inline |
◆ IsInitialized()
| bool yaze::core::Z3dkWrapper::IsInitialized |
( |
| ) |
const |
|
inline |
◆ GetVersion()
| std::string yaze::core::Z3dkWrapper::GetVersion |
( |
| ) |
const |
◆ ApplyPatch() [1/2]
| absl::StatusOr< AsarPatchResult > yaze::core::Z3dkWrapper::ApplyPatch |
( |
const std::string & | patch_path, |
|
|
std::vector< uint8_t > & | rom_data, |
|
|
const std::vector< std::string > & | include_paths = {} ) |
◆ ApplyPatch() [2/2]
| absl::StatusOr< AsarPatchResult > yaze::core::Z3dkWrapper::ApplyPatch |
( |
const std::string & | patch_path, |
|
|
std::vector< uint8_t > & | rom_data, |
|
|
const Z3dkAssembleOptions & | options ) |
◆ ValidateAssembly() [1/2]
| absl::Status yaze::core::Z3dkWrapper::ValidateAssembly |
( |
const std::string & | asm_path, |
|
|
const std::vector< std::string > & | include_paths = {} ) |
◆ ValidateAssembly() [2/2]
| absl::Status yaze::core::Z3dkWrapper::ValidateAssembly |
( |
const std::string & | asm_path, |
|
|
const Z3dkAssembleOptions & | options ) |
◆ GetSymbolTable()
| const std::map< std::string, AsarSymbol > & yaze::core::Z3dkWrapper::GetSymbolTable |
( |
| ) |
const |
|
inline |
◆ FindSymbol()
| std::optional< AsarSymbol > yaze::core::Z3dkWrapper::FindSymbol |
( |
const std::string & | name | ) |
const |
◆ GetLastErrors()
| std::vector< std::string > yaze::core::Z3dkWrapper::GetLastErrors |
( |
| ) |
const |
|
inline |
◆ GetLastWarnings()
| std::vector< std::string > yaze::core::Z3dkWrapper::GetLastWarnings |
( |
| ) |
const |
|
inline |
◆ RunLintOnLastResult()
◆ Reset()
| void yaze::core::Z3dkWrapper::Reset |
( |
| ) |
|
◆ Assemble()
| absl::StatusOr< AsarPatchResult > yaze::core::Z3dkWrapper::Assemble |
( |
const std::string & | patch_path, |
|
|
std::vector< uint8_t > & | rom_data, |
|
|
const Z3dkAssembleOptions & | options, |
|
|
bool | update_apply_cache ) |
|
private |
Definition at line 307 of file z3dk_wrapper.cc.
References z3dk::AnnotationsToJson(), z3dk::Assembler::Assemble(), z3dk::AssembleOptions::capture_nocash_symbols, yaze::core::Z3dkAssembleOptions::capture_nocash_symbols, ClearApplyCache(), z3dk::AssembleOptions::defines, yaze::core::Z3dkAssembleOptions::defines, z3dk::LintResult::diagnostics, z3dk::DiagnosticsListToJson(), yaze::core::Z3dkAssembleOptions::hooks_rom_path, z3dk::HooksToJson(), z3dk::AssembleOptions::include_paths, yaze::core::Z3dkAssembleOptions::include_paths, Initialize(), initialized_, last_errors_, last_result_, last_warnings_, yaze::core::Z3dkAssembleOptions::mapper, z3dk::AssembleOptions::patch_path, z3dk::AssembleOptions::rom_data, yaze::core::Z3dkAssembleOptions::rom_size, z3dk::RunLint(), z3dk::SourceMapToJson(), z3dk::AssembleOptions::std_defines_path, yaze::core::Z3dkAssembleOptions::std_defines_path, z3dk::AssembleOptions::std_includes_path, yaze::core::Z3dkAssembleOptions::std_includes_path, z3dk::LintResult::success(), symbol_table_, and z3dk::SymbolsToMlb().
Referenced by ApplyPatch(), and ValidateAssembly().
◆ ClearApplyCache()
| void yaze::core::Z3dkWrapper::ClearApplyCache |
( |
| ) |
|
|
private |
◆ initialized_
| bool yaze::core::Z3dkWrapper::initialized_ = false |
|
private |
◆ symbol_table_
| std::map<std::string, AsarSymbol> yaze::core::Z3dkWrapper::symbol_table_ |
|
private |
◆ last_errors_
| std::vector<std::string> yaze::core::Z3dkWrapper::last_errors_ |
|
private |
◆ last_warnings_
| std::vector<std::string> yaze::core::Z3dkWrapper::last_warnings_ |
|
private |
◆ last_result_
The documentation for this class was generated from the following files: