angr.serializable

class angr.serializable.Serializable

Bases: object

The base class of all protobuf-serializable classes in angr.

serialize_to_cmessage()

Serialize the class object and returns a protobuf cmessage object.

Returns:

A protobuf cmessage object.

Return type:

protobuf.cmessage

serialize()

Serialize the class object and returns a bytes object.

Returns:

A bytes object.

Return type:

bytes

classmethod parse_from_cmessage(cmsg, **kwargs)

Parse a protobuf cmessage and create a class object.

Parameters:

cmsg – The probobuf cmessage object.

Returns:

A unserialized class object.

Return type:

cls

classmethod parse(s, **kwargs)

Parse a bytes object and create a class object.

Parameters:

s (bytes) – A bytes object.

Returns:

A class object.

Return type:

cls