IDAPython 9.0
Loading...
Searching...
No Matches
dirspec_t Class Reference
Inheritance diagram for dirspec_t:

Public Member Functions

 __init__ (self, str nm=None, int f=0)
 
bool get_name (self, 'inode_t' inode, int name_flags=DTN_FULL_NAME)
 
'inode_t' get_inode (self, str dirpath, str name)
 
str get_attrs (self, 'inode_t' inode)
 
bool rename_inode (self, 'inode_t' inode, str newname)
 
None unlink_inode (self, 'inode_t' inode)
 
bool is_orderable (self)
 
 __disown__ (self)
 

Static Public Attributes

str flags
 
 DSF_INODE_EA = _ida_dirtree.dirspec_t_DSF_INODE_EA
 
 DSF_PRIVRANGE = _ida_dirtree.dirspec_t_DSF_PRIVRANGE
 
 DSF_ORDERABLE = _ida_dirtree.dirspec_t_DSF_ORDERABLE
 
str id
 
str nodename = id
 

Properties

 thisown
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
str nm = None,
int f = 0 )

Member Function Documentation

◆ __disown__()

__disown__ ( self)

◆ get_attrs()

str get_attrs ( self,
'inode_t' inode )

◆ get_inode()

'inode_t' get_inode ( self,
str dirpath,
str name )
get the entry inode in the specified directory 

@param dirpath: the absolute directory path with trailing slash
@param name: the entry name in the directory
@returns the entry inode

◆ get_name()

bool get_name ( self,
'inode_t' inode,
int name_flags = DTN_FULL_NAME )
get the entry name. for example, the structure name 

@param inode: inode number of the entry
@param name_flags: how exactly the name should be retrieved. combination of bits for get_...name() methods bits
@returns false if the entry does not exist.

◆ is_orderable()

bool is_orderable ( self)

◆ rename_inode()

bool rename_inode ( self,
'inode_t' inode,
str newname )
rename the entry 

@returns success

◆ unlink_inode()

None unlink_inode ( self,
'inode_t' inode )
event: unlinked an inode 

Member Data Documentation

◆ DSF_INODE_EA

DSF_INODE_EA = _ida_dirtree.dirspec_t_DSF_INODE_EA
static

◆ DSF_ORDERABLE

DSF_ORDERABLE = _ida_dirtree.dirspec_t_DSF_ORDERABLE
static

◆ DSF_PRIVRANGE

DSF_PRIVRANGE = _ida_dirtree.dirspec_t_DSF_PRIVRANGE
static

◆ flags

str flags
static
Initial value:
= property(_ida_dirtree.dirspec_t_flags_get,
_ida_dirtree.dirspec_t_flags_set)

◆ id

str id
static
Initial value:
= property(_ida_dirtree.dirspec_t_id_get, _ida_dirtree.
dirspec_t_id_set)

◆ nodename

str nodename = id
static

Property Documentation

◆ thisown

thisown
static
Initial value:
= property(lambda x: x.this.own(), lambda x, v: x.this.own(v),
doc='The membership flag')

The documentation for this class was generated from the following file: