angr.angrdb.models

class angr.angrdb.models.DbInformation

Bases: Base

Stores information related to the current database. Basically a key-value store.

id
key
value
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbObject

Bases: Base

Models a binary object.

id
main_object
path
content
backend
backend_args
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbKnowledgeBase

Bases: Base

Models a knowledge base.

id
name
cfgs
funcs
xrefs
comments
labels
var_collections
structured_code
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbCFGModel

Bases: Base

Models a CFGFast instance.

id
kb_id
kb
ident
blob
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbFunction

Bases: Base

Models a Function instance.

id
kb_id
kb
addr
blob
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbVariableCollection

Bases: Base

Models a VariableManagerInternal instance.

id
kb_id
kb
func_addr
ident
blob
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbStructuredCode

Bases: Base

Models a StructuredCode instance.

id
kb_id
kb
func_addr
flavor
expr_comments
stmt_comments
configuration
const_formats
ite_exprs
errors
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbXRefs

Bases: Base

Models an XRefManager instance.

id
kb_id
kb
blob
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbComment

Bases: Base

Models a comment.

id
kb_id
kb
addr
comment
type
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

class angr.angrdb.models.DbLabel

Bases: Base

Models a label.

id
kb_id
kb
addr
name
__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.