dex++ 0.3.1
C++ and C API reference
Loading...
Searching...
No Matches
dex::TryBlock Struct Reference

A try region and its handlers, decoded from the method's code item. More...

#include <analysis/method.hpp>

Public Attributes

uint32_t start_offset
 First covered code-unit offset.
 
uint32_t end_offset
 One past the last covered code unit.
 
std::vector< CatchHandler > handlers
 Typed catches, in DEX order.
 
std::optional< uint32_t > catch_all_offset
 finally / catch-all handler, if any.
 

Detailed Description

A try region and its handlers, decoded from the method's code item.

Member Data Documentation

◆ start_offset

uint32_t dex::TryBlock::start_offset

First covered code-unit offset.

◆ end_offset

uint32_t dex::TryBlock::end_offset

One past the last covered code unit.

◆ handlers

std::vector<CatchHandler> dex::TryBlock::handlers

Typed catches, in DEX order.

◆ catch_all_offset

std::optional<uint32_t> dex::TryBlock::catch_all_offset

finally / catch-all handler, if any.


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