class Metasm::DEX::CatchHandler

Attributes

byteoff[RW]
catchalloff[RW]
type_pairs[RW]

Public Instance Methods

decode(exe, boff = nil) click to toggle source
Calls superclass method Metasm::SerialStruct#decode
# File metasm/exe_format/dex.rb, line 247
def decode(exe, boff = nil)
        super(exe)

        @byteoff = boff
        @type_pairs = (1..@size.abs).map { CatchTypePair.decode(exe) }
        @catchalloff = exe.decode_uleb if @size <= 0
end