Miasm2
 All Classes Namespaces Files Functions Variables Typedefs Properties Macros
Public Member Functions | Static Public Attributes | List of all members
miasm2.os_dep.win_api_x86_32.win32_find_data Class Reference
+ Collaboration diagram for miasm2.os_dep.win_api_x86_32.win32_find_data:

Public Member Functions

def __init__
 
def toStruct
 

Static Public Attributes

int fileattrib = 0
 
int creationtime = 0
 
int lastaccesstime = 0
 
int lastwritetime = 0
 
int filesizehigh = 0
 
int filesizelow = 0
 
int dwreserved0 = 0
 
int dwreserved1 = 0x1337beef
 
string cfilename = ""
 
string alternamefilename = ""
 

Detailed Description

Definition at line 2584 of file win_api_x86_32.py.

Constructor & Destructor Documentation

def miasm2.os_dep.win_api_x86_32.win32_find_data.__init__ (   self,
  kargs 
)

Definition at line 2596 of file win_api_x86_32.py.

2597  def __init__(self, **kargs):
2598  for k, v in kargs.items():
2599  setattr(self, k, v)

Member Function Documentation

def miasm2.os_dep.win_api_x86_32.win32_find_data.toStruct (   self)

Definition at line 2600 of file win_api_x86_32.py.

2601  def toStruct(self):
2602  s = struct.pack('=IQQQIIII',
2603  self.fileattrib,
2604  self.creationtime,
2605  self.lastaccesstime,
2606  self.lastwritetime,
2607  self.filesizehigh,
2608  self.filesizelow,
2609  self.dwreserved0,
2610  self.dwreserved1)
2611  fname = self.cfilename + '\x00' * MAX_PATH
2612  fname = fname[:MAX_PATH]
2613  s += fname
2614  fname = self.alternamefilename + '\x00' * 14
2615  fname = fname[:14]
2616  s += fname
2617  return s
2618 

Member Data Documentation

string miasm2.os_dep.win_api_x86_32.win32_find_data.alternamefilename = ""
static

Definition at line 2594 of file win_api_x86_32.py.

string miasm2.os_dep.win_api_x86_32.win32_find_data.cfilename = ""
static

Definition at line 2593 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.creationtime = 0
static

Definition at line 2586 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.dwreserved0 = 0
static

Definition at line 2591 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.dwreserved1 = 0x1337beef
static

Definition at line 2592 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.fileattrib = 0
static

Definition at line 2585 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.filesizehigh = 0
static

Definition at line 2589 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.filesizelow = 0
static

Definition at line 2590 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.lastaccesstime = 0
static

Definition at line 2587 of file win_api_x86_32.py.

int miasm2.os_dep.win_api_x86_32.win32_find_data.lastwritetime = 0
static

Definition at line 2588 of file win_api_x86_32.py.


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