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

Used for diassembling the data section of a Hermes bytecode file. More...

Public Member Functions

 DataDisassembler (HbcFile source)
 Creates a new DataDisassembler for a given Hermes bytecode file. More...
 
PrimitiveValue[] GetElementSeries (List< HbcDataBufferItems > buffer, uint offset, uint length)
 Returns an array containing length items starting at buffer offset offset in the given buffer. If length extends over multiple entries in the array buffer (i.e. multiple data declarations), the elements from all entries are returned in order. This enables reading over multiple entries at once. More...
 
void DisassembleData ()
 
string Disassemble ()
 Disassembles the Hermes bytecode data buffers and returns a string representing the disassembly. More...
 

Properties

HbcFile Source [get, set]
 The Hermes bytecode file being disassembled. More...
 
List< HbcDataBufferItemsArrayBuffer [get, set]
 The decoded Array Buffer. More...
 
List< HbcDataBufferItemsKeyBuffer [get, set]
 The decoded Object Key Buffer. More...
 
List< HbcDataBufferItemsValueBuffer [get, set]
 The decoded Object Value Buffer. More...
 

Detailed Description

Used for diassembling the data section of a Hermes bytecode file.

Constructor & Destructor Documentation

◆ DataDisassembler()

Hasmer.Assembler.DataDisassembler.DataDisassembler ( HbcFile  source)
inline

Creates a new DataDisassembler for a given Hermes bytecode file.

Member Function Documentation

◆ Disassemble()

string Hasmer.Assembler.DataDisassembler.Disassemble ( )
inline

Disassembles the Hermes bytecode data buffers and returns a string representing the disassembly.

◆ GetElementSeries()

PrimitiveValue [] Hasmer.Assembler.DataDisassembler.GetElementSeries ( List< HbcDataBufferItems buffer,
uint  offset,
uint  length 
)
inline

Returns an array containing length items starting at buffer offset offset in the given buffer. If length extends over multiple entries in the array buffer (i.e. multiple data declarations), the elements from all entries are returned in order. This enables reading over multiple entries at once.

Property Documentation

◆ ArrayBuffer

List<HbcDataBufferItems> Hasmer.Assembler.DataDisassembler.ArrayBuffer
getset

The decoded Array Buffer.

◆ KeyBuffer

List<HbcDataBufferItems> Hasmer.Assembler.DataDisassembler.KeyBuffer
getset

The decoded Object Key Buffer.

◆ Source

HbcFile Hasmer.Assembler.DataDisassembler.Source
getset

The Hermes bytecode file being disassembled.

◆ ValueBuffer

List<HbcDataBufferItems> Hasmer.Assembler.DataDisassembler.ValueBuffer
getset

The decoded Object Value Buffer.


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