IDAPython 9.0
Loading...
Searching...
No Matches
dirspec_t Class Reference

Proxy of C++ dirspec_t class.

Inheritance diagram for dirspec_t:

Public Member Functions

 __init__ (self, "char const *" nm=None, "uint32" f=0)
 init(self, nm=None, f=0) -> dirspec_t
 
"bool" get_name (self, "inode_t" inode, "uint32" name_flags=DTN_FULL_NAME)
 get_name(self, inode, name_flags=DTN_FULL_NAME) -> bool get the entry name.
 
"inode_t" get_inode (self, "char const *" dirpath, "char const *" name)
 get_inode(self, dirpath, name) -> inode_t get the entry inode in the specified directory
 
"qstring" get_attrs (self, "inode_t" inode)
 get_attrs(self, inode) -> qstring
 
"bool" rename_inode (self, "inode_t" inode, "char const *" newname)
 rename_inode(self, inode, newname) -> bool rename the entry
 
"void" unlink_inode (self, "inode_t" inode)
 unlink_inode(self, inode)
 
"bool" is_orderable (self)
 is_orderable(self) -> bool
 
 __disown__ (self)
 

Static Public Attributes

str flags = property(_ida_dirtree.dirspec_t_flags_get, _ida_dirtree.dirspec_t_flags_set, doc=)
 
 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 = property(_ida_dirtree.dirspec_t_id_get, _ida_dirtree.dirspec_t_id_set, doc=)
 
str nodename = id
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
"char const *" nm = None,
"uint32" f = 0 )
Parameters
nmchar const *
fuint32

Member Function Documentation

◆ __disown__()

__disown__ ( self)

◆ get_attrs()

"qstring" get_attrs ( self,
"inode_t" inode )
Parameters
inodeinode_t

◆ get_inode()

"inode_t" get_inode ( self,
"char const *" dirpath,
"char const *" name )
Parameters
dirpath(C++: const char *) the absolute directory path with trailing slash
name(C++: const char *) the entry name in the directory
Returns
: the entry inode

◆ get_name()

"bool" get_name ( self,
"inode_t" inode,
"uint32" name_flags = DTN_FULL_NAME )

for example, the structure name

Parameters
inode(C++: inode_t) inode number of the entry
name_flags(C++: uint32) 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,
"char const *" newname )
Parameters
inode(C++: inode_t)
newname(C++: const char *)
Returns
: success

◆ unlink_inode()

"void" unlink_inode ( self,
"inode_t" inode )
Parameters
inode(C++: inode_t)

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 = property(_ida_dirtree.dirspec_t_flags_get, _ida_dirtree.dirspec_t_flags_set, doc=)
static

◆ id

str id = property(_ida_dirtree.dirspec_t_id_get, _ida_dirtree.dirspec_t_id_set, doc=)
static

◆ nodename

str nodename = id
static

Property Documentation

◆ thisown

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

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