struct Cradare2::Model::Section

Overview

Represents an executable section/segment from radare2 iSj.

Included Modules

Defined in:

cradare2/models/section.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def contains?(address : UInt64) : Bool #

Check if virtual address falls inside this section


[View source]
def entropy : Float64 | Nil #

[View source]
def executable? : Bool #

[View source]
def flags : Int64 | Nil #

[View source]
def name : String #

[View source]
def paddr : UInt64 | Nil #

[View source]
def perm : String | Nil #

[View source]
def readable? : Bool #

Permission checks


[View source]
def size : UInt64 #

[View source]
def vaddr : UInt64 #

[View source]
def vsize : UInt64 | Nil #

[View source]
def writable? : Bool #

[View source]