adsr / phpspy

low-overhead sampling profiler for PHP 7+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hide error message about `basic_functions_module` symbol

adsr opened this issue · comments

commented

phpspy/phpspy.c

Lines 522 to 524 in 450a98e

if (get_symbol_addr(&memo, target->pid, "basic_functions_module", &target->basic_functions_module_addr) != 0) {
target->basic_functions_module_addr = 0;
}

This will always error for PHP binaries built without debug symbols. It may confuse end users.