v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::EhFrameIterator Class Reference

#include <eh-frame.h>

Collaboration diagram for v8::internal::EhFrameIterator:

Public Member Functions

 EhFrameIterator (const uint8_t *start, const uint8_t *end)
 
void SkipCie ()
 
void SkipToFdeDirectives ()
 
void Skip (int how_many)
 
uint32_t GetNextUInt32 ()
 
uint16_t GetNextUInt16 ()
 
uint8_t GetNextByte ()
 
EhFrameConstants::DwarfOpcodes GetNextOpcode ()
 
uint32_t GetNextULeb128 ()
 
int32_t GetNextSLeb128 ()
 
bool Done () const
 
int GetCurrentOffset () const
 
int GetBufferSize ()
 
const void * current_address () const
 

Private Member Functions

template<typename T >
T GetNextValue ()
 

Static Private Member Functions

static uint32_t DecodeULeb128 (const uint8_t *encoded, int *encoded_size)
 
static int32_t DecodeSLeb128 (const uint8_t *encoded, int *encoded_size)
 

Private Attributes

const uint8_t * start_
 
const uint8_t * next_
 
const uint8_t * end_
 

Static Private Attributes

static const int kDirectivesOffsetInFde = 4 * kInt32Size + 1
 

Detailed Description

Definition at line 213 of file eh-frame.h.

Constructor & Destructor Documentation

◆ EhFrameIterator()

v8::internal::EhFrameIterator::EhFrameIterator ( const uint8_t * start,
const uint8_t * end )
inline

Definition at line 215 of file eh-frame.h.

Member Function Documentation

◆ current_address()

const void * v8::internal::EhFrameIterator::current_address ( ) const
inline

Definition at line 261 of file eh-frame.h.

◆ DecodeSLeb128()

int32_t v8::internal::EhFrameIterator::DecodeSLeb128 ( const uint8_t * encoded,
int * encoded_size )
staticprivate

Definition at line 440 of file eh-frame.cc.

Here is the caller graph for this function:

◆ DecodeULeb128()

uint32_t v8::internal::EhFrameIterator::DecodeULeb128 ( const uint8_t * encoded,
int * encoded_size )
staticprivate

Definition at line 421 of file eh-frame.cc.

Here is the caller graph for this function:

◆ Done()

bool v8::internal::EhFrameIterator::Done ( ) const
inline

Definition at line 249 of file eh-frame.h.

◆ GetBufferSize()

int v8::internal::EhFrameIterator::GetBufferSize ( )
inline

Definition at line 259 of file eh-frame.h.

◆ GetCurrentOffset()

int v8::internal::EhFrameIterator::GetCurrentOffset ( ) const
inline

Definition at line 254 of file eh-frame.h.

◆ GetNextByte()

uint8_t v8::internal::EhFrameIterator::GetNextByte ( )
inline

Definition at line 241 of file eh-frame.h.

◆ GetNextOpcode()

EhFrameConstants::DwarfOpcodes v8::internal::EhFrameIterator::GetNextOpcode ( )
inline

Definition at line 242 of file eh-frame.h.

◆ GetNextSLeb128()

int32_t v8::internal::EhFrameIterator::GetNextSLeb128 ( )

Definition at line 412 of file eh-frame.cc.

Here is the call graph for this function:

◆ GetNextUInt16()

uint16_t v8::internal::EhFrameIterator::GetNextUInt16 ( )
inline

Definition at line 240 of file eh-frame.h.

◆ GetNextUInt32()

uint32_t v8::internal::EhFrameIterator::GetNextUInt32 ( )
inline

Definition at line 239 of file eh-frame.h.

◆ GetNextULeb128()

uint32_t v8::internal::EhFrameIterator::GetNextULeb128 ( )

Definition at line 404 of file eh-frame.cc.

Here is the call graph for this function:

◆ GetNextValue()

template<typename T >
T v8::internal::EhFrameIterator::GetNextValue ( )
inlineprivate

Definition at line 272 of file eh-frame.h.

◆ Skip()

void v8::internal::EhFrameIterator::Skip ( int how_many)
inline

Definition at line 233 of file eh-frame.h.

◆ SkipCie()

void v8::internal::EhFrameIterator::SkipCie ( )
inline

Definition at line 220 of file eh-frame.h.

◆ SkipToFdeDirectives()

void v8::internal::EhFrameIterator::SkipToFdeDirectives ( )
inline

Definition at line 227 of file eh-frame.h.

Member Data Documentation

◆ end_

const uint8_t* v8::internal::EhFrameIterator::end_
private

Definition at line 282 of file eh-frame.h.

◆ kDirectivesOffsetInFde

const int v8::internal::EhFrameIterator::kDirectivesOffsetInFde = 4 * kInt32Size + 1
staticprivate

Definition at line 266 of file eh-frame.h.

◆ next_

const uint8_t* v8::internal::EhFrameIterator::next_
private

Definition at line 281 of file eh-frame.h.

◆ start_

const uint8_t* v8::internal::EhFrameIterator::start_
private

Definition at line 280 of file eh-frame.h.


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