Documentation ¶
Index ¶
Constants ¶
View Source
const ( ZEND_USER_FUNCTION = (1 << 1) ZEND_EVAL_CODE = (1 << 2) )
zend_function.type definitions from PHP sources nolint:golint,stylecheck,revive
View Source
const ( // This is used to check if the VM mode is the default one // From https://github.com/php/php-src/blob/PHP-8.0/Zend/zend_vm_opcodes.h#L29 ZEND_VM_KIND_HYBRID = (1 << 2) // This is used to check if the symbolized frame belongs to // top-level code. // From https://github.com/php/php-src/blob/PHP-8.0/Zend/zend_compile.h#L542 ZEND_CALL_TOP_CODE = (1<<17 | 1<<16) )
nolint:golint,stylecheck,revive
Variables ¶
This section is empty.
Functions ¶
func Loader ¶
func Loader(ebpf interpreter.EbpfHandler, info *interpreter.LoaderInfo) (interpreter.Data, error)
func RetrieveJITBufferPtrWrapper ¶
func RetrieveJITBufferPtrWrapper(code []byte, addrBase libpf.SymbolValue) ( dasmBuf libpf.SymbolValue, dasmSize libpf.SymbolValue, err error)
RetrieveJITBufferPtrWrapper. This function reads the code blob and returns a pointer to the JIT buffer used by PHP (called "dasm_buf" in the PHP source).
func VersionExtract ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.