class documentation

class Category(object):

View In Hierarchy

Category of a register.

Not meant to be instantiated directly. Use Register.category or helpers.all_categories instead.

Method __init__ Initializes a new Category instance. Not meant to be used directly. Use Register.category or helpers.all_categories instead.
Method registers Returns an generator over all registers that belong to this category
Property name Property: The name of the category as a string
Method __repr__ Undocumented
Method __str__ Undocumented
Method __eq__ Undocumented
Method __ne__ Undocumented
Instance Variable _rvn_category Undocumented
def __init__(self, _rvn_category):

Initializes a new Category instance. Not meant to be used directly. Use Register.category or helpers.all_categories instead.

_rvn_category =

Undocumented

def registers(self):

Returns an generator over all registers that belong to this category

Examples

>>> list(arch.x64.cf.category.registers())
[Register(x64.iopl), Register(x64.tf), Register(x64.df), Register(x64.zf),
Register(x64.rf), Register(x64.of), Register(x64.vif), Register(x64.cf),
Register(x64.vip), Register(x64.pf), Register(x64.vm), Register(x64.ac),
Register(x64.af), Register(x64.id), Register(x64.if), Register(x64.nt),
Register(x64.sf)]

Information

ReturnsA generator of Register.
@property
name =

Property: The name of the category as a string

Examples

Filtering on the registers of the flags category:

>>> [r for r in arch.helpers.x64_registers() if r.category_name == "flags"]
[Register(x64.iopl), Register(x64.tf), Register(x64.df), Register(x64.zf),
Register(x64.rf), Register(x64.of), Register(x64.vif), Register(x64.cf),
Register(x64.vip), Register(x64.pf), Register(x64.vm), Register(x64.ac),
Register(x64.af), Register(x64.id), Register(x64.if), Register(x64.nt),
Register(x64.sf)]

Information

ReturnsA string.
def __repr__(self):

Undocumented

def __str__(self):

Undocumented

def __eq__(self, r):

Undocumented

def __ne__(self, r):

Undocumented

API Documentation for reven2, generated by pydoctor 21.2.2 at 2021-04-08 12:32:07.