Package pydbg :: Module pydbg_core |
[show private | hide private]
[frames | no frames]

## Module pydbg.pydbg_core

Author: Pedram Amini

Contact: pedram.amini@gmail.com

Organization: www.openrce.org

License: GNU General Public License 2.0 or later

Classes
`pydbg_core` | This is the core debugger class from which extended debugger functionality should be derived.

Function Summary
| ``addressof`(...)` addressof(C instance) -> integer Return the address of the C instance internal buffer
| ``alignment`(...)` alignment(C type) -> integer alignment(C instance) -> integer Return the alignment requirements of a C instance
| ``byref`(...)` byref(C instance) -> byref-object Return a pointer lookalike to a C instance, only usable as function argument
string | ``FormatError`(integer)` Convert a win32 error code into a string.
(previous-encoding, previous-errors) | ``set_conversion_mode`(encoding, errors)` Set the encoding and error handling ctypes uses when converting between unicode and strings.
| ``sizeof`(...)` sizeof(C type) -> integer sizeof(C instance) -> integer Return the size in bytes of a C instance

Variable Summary
`WinDLL` | `advapi32` = `<WinDLL 'advapi32', handle 77dd0000 at ad4fd0...`
`WinDLL` | `kernel32` = `<WinDLL 'kernel32', handle 7c800000 at a05ed0...`

Function Details

### addressof(...) addressof(C instance) -> integer Return the address of the C instance internal buffer

### alignment(...) alignment(C type) -> integer alignment(C instance) -> integer Return the alignment requirements of a C instance

### byref(...) byref(C instance) -> byref-object Return a pointer lookalike to a C instance, only usable as function argument

### FormatError(integer=...) Convert a win32 error code into a string. If the error code is not given, the return value of a call to GetLastError() is used. Returns: string

### set_conversion_mode(encoding, errors) Set the encoding and error handling ctypes uses when converting between unicode and strings. Returns the previous values. Returns: (previous-encoding, previous-errors)

### sizeof(...) sizeof(C type) -> integer sizeof(C instance) -> integer Return the size in bytes of a C instance

Variable Details

    ### advapi32 Type: `WinDLL` Value:
        <WinDLL 'advapi32', handle 77dd0000 at ad4fd0>

    ### kernel32 Type: `WinDLL` Value:
        <WinDLL 'kernel32', handle 7c800000 at a05ed0>

Generated by Epydoc 2.1 on Thu Sep 14 10:39:49 2006 | http://epydoc.sf.net