hasmer
Public Member Functions | Properties | List of all members
Hasmer.Assembler.FunctionDisassembler Class Reference

Disassembles a function from Hermes bytecode into Hasm assembly. More...

Public Member Functions

 FunctionDisassembler (HbcDisassembler disassembler, HbcFuncHeader func)
 Creates a new FunctionDisassembler given the header of the function to disassemble. More...
 
string Disassemble ()
 Disassembles the function's header and bytecode into human and machine-readable disassembly. More...
 

Properties

HbcDisassembler Disassembler [get, set]
 The disassembler being used. More...
 
HbcFile Source [get]
 The file which declares the function being disassembled. More...
 
HbcFuncHeader Func [get, set]
 The header of the function being disassembled. More...
 

Detailed Description

Disassembles a function from Hermes bytecode into Hasm assembly.

Constructor & Destructor Documentation

◆ FunctionDisassembler()

Hasmer.Assembler.FunctionDisassembler.FunctionDisassembler ( HbcDisassembler  disassembler,
HbcFuncHeader  func 
)
inline

Creates a new FunctionDisassembler given the header of the function to disassemble.

Member Function Documentation

◆ Disassemble()

string Hasmer.Assembler.FunctionDisassembler.Disassemble ( )
inline

Disassembles the function's header and bytecode into human and machine-readable disassembly.

Property Documentation

◆ Disassembler

HbcDisassembler Hasmer.Assembler.FunctionDisassembler.Disassembler
getset

The disassembler being used.

◆ Func

HbcFuncHeader Hasmer.Assembler.FunctionDisassembler.Func
getset

The header of the function being disassembled.

◆ Source

HbcFile Hasmer.Assembler.FunctionDisassembler.Source
get

The file which declares the function being disassembled.


The documentation for this class was generated from the following file: