Stackdb
Stackdb is a stackable, multi-target and -level source debugger and memory forensics library.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
target_php.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  php_spec
 
struct  php_target_location_ctxt_frame_state
 
struct  php_thread_stack_frame
 
struct  php_thread_state
 
struct  php_state
 

Macros

#define PHP_ZEND_NULL   0
 
#define PHP_ZEND_LONG   1
 
#define PHP_ZEND_DOUBLE   2
 
#define PHP_ZEND_BOOL   3
 
#define PHP_ZEND_ARRAY   4
 
#define PHP_ZEND_OBJECT   5
 
#define PHP_ZEND_STRING   6
 
#define PHP_ZEND_RESOURCE   7
 
#define PHP_ZEND_CONSTANT   8
 
#define PHP_ZEND_CONSTANT_ARRAY   9
 
#define PHP_ZEND_CALLABLE   10
 
#define PHP_BASE_SYMBOL_COUNT   PHP_BASE_STRING + 1
 
#define PHP_ZEND_TYPE_IS_BASE(type)
 

Typedefs

typedef enum php_base_symbol php_base_symbol_t
 

Enumerations

enum  php_base_symbol {
  PHP_BASE_NULL = PHP_ZEND_NULL, PHP_BASE_LONG = PHP_ZEND_LONG, PHP_BASE_DOUBLE = PHP_ZEND_DOUBLE, PHP_BASE_BOOL = PHP_ZEND_BOOL,
  PHP_BASE_HASH = PHP_ZEND_ARRAY, PHP_BASE_STRING = PHP_ZEND_STRING
}
 

Functions

struct targetphp_instantiate (struct target_spec *spec, struct evloop *evloop)
 
struct php_specphp_build_spec (void)
 
void php_free_spec (struct php_spec *xspec)
 
int php_spec_to_argv (struct target_spec *spec, int *argc, char ***argv)
 

Variables

struct target_ops php_ops
 
struct location_ops php_location_ops
 

Macro Definition Documentation

#define PHP_BASE_SYMBOL_COUNT   PHP_BASE_STRING + 1

Definition at line 92 of file target_php.h.

#define PHP_ZEND_ARRAY   4

Definition at line 76 of file target_php.h.

#define PHP_ZEND_BOOL   3

Definition at line 75 of file target_php.h.

#define PHP_ZEND_CALLABLE   10

Definition at line 82 of file target_php.h.

#define PHP_ZEND_CONSTANT   8

Definition at line 80 of file target_php.h.

#define PHP_ZEND_CONSTANT_ARRAY   9

Definition at line 81 of file target_php.h.

#define PHP_ZEND_DOUBLE   2

Definition at line 74 of file target_php.h.

#define PHP_ZEND_LONG   1

Definition at line 73 of file target_php.h.

#define PHP_ZEND_NULL   0

Definition at line 72 of file target_php.h.

#define PHP_ZEND_OBJECT   5

Definition at line 77 of file target_php.h.

#define PHP_ZEND_RESOURCE   7

Definition at line 79 of file target_php.h.

#define PHP_ZEND_STRING   6

Definition at line 78 of file target_php.h.

#define PHP_ZEND_TYPE_IS_BASE (   type)
Value:

Definition at line 94 of file target_php.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator
PHP_BASE_NULL 
PHP_BASE_LONG 
PHP_BASE_DOUBLE 
PHP_BASE_BOOL 
PHP_BASE_HASH 
PHP_BASE_STRING 

Definition at line 84 of file target_php.h.

Function Documentation

struct php_spec* php_build_spec ( void  )

Definition at line 938 of file target_php.c.

void php_free_spec ( struct php_spec xspec)

Definition at line 946 of file target_php.c.

struct target* php_instantiate ( struct target_spec spec,
struct evloop evloop 
)
int php_spec_to_argv ( struct target_spec spec,
int *  argc,
char ***  argv 
)

Variable Documentation

struct location_ops php_location_ops

Definition at line 2807 of file target_php.c.

struct target_ops php_ops

Definition at line 1015 of file target_php.c.