vihaco_module::module
module¶
vihaco_module::module
classFunctionInfo¶source
vihaco_module::module::FunctionInfo
Bases: Debug, Clone, StructuralPartialEq, PartialEq
Rust struct.
pub struct FunctionInfo<Type>Fields
| Name | Type | Description |
|---|---|---|
name | u32 | |
signature | Signature<Type> | |
local_count | u32 | |
start_address | u32 | |
end_address | u32 | |
file | u32 |
classLabelInfo¶source
vihaco_module::module::LabelInfo
Bases: Debug, Clone, StructuralPartialEq, PartialEq
Rust struct.
classLocalModule¶source
vihaco_module::module::LocalModule
Bases: Debug, Clone, StructuralPartialEq, PartialEq, Default, Display
Rust struct. A module for a single section.
pub struct LocalModule<I, V, Ty, Info>Fields
| Name | Type | Description |
|---|---|---|
code | Vec<I> | |
functions | Vec<FunctionInfo<Ty>> | |
labels | Vec<LabelInfo> | |
constants | Vec<V> | |
strings | Vec<String> | |
main_function | Option<u32> | |
source_symbols | Vec<SourceSymbolInfo> | |
extra | Info |
classNoInfo¶source
vihaco_module::module::NoInfo
Bases: Debug, Clone, StructuralPartialEq, PartialEq, Default, Display
Rust struct.
pub struct NoInfoclassParameter¶source
vihaco_module::module::Parameter
Bases: Debug, Clone, StructuralPartialEq, PartialEq
Rust struct.
classSignature¶source
vihaco_module::module::Signature
Bases: Debug, Clone, StructuralPartialEq, PartialEq
Rust struct.
pub struct Signature<Ty>Fields
| Name | Type | Description |
|---|---|---|
params | Vec<Parameter<Ty>> | |
ret | Vec<Ty> |
classSourceSymbolInfo¶source
vihaco_module::module::SourceSymbolInfo
Bases: Debug, Clone, StructuralPartialEq, PartialEq, Eq
Rust struct.