mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
libsysprof: ensure access to process info
This commit is contained in:
@ -112,6 +112,9 @@ do_symbolize (SysprofSymbolizer *symbolizer,
|
|||||||
* and where (relative to that file) the IP was.
|
* and where (relative to that file) the IP was.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (process_info == NULL || process_info->address_layout == NULL)
|
||||||
|
return NULL;
|
||||||
|
|
||||||
if (!(map = sysprof_address_layout_lookup (process_info->address_layout, address)))
|
if (!(map = sysprof_address_layout_lookup (process_info->address_layout, address)))
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user