Changeset View
Changeset View
Standalone View
Standalone View
lib/libsysdecode/utrace.c
Show First 20 Lines • Show All 118 Lines • ▼ Show 20 Lines | case UTRACE_FINI_CALL: | ||||
break; | break; | ||||
case UTRACE_DLSYM_START: | case UTRACE_DLSYM_START: | ||||
fprintf(fp, "RTLD: dlsym(%p, %s)", ut->handle, ut->name); | fprintf(fp, "RTLD: dlsym(%p, %s)", ut->handle, ut->name); | ||||
break; | break; | ||||
case UTRACE_DLSYM_STOP: | case UTRACE_DLSYM_STOP: | ||||
fprintf(fp, "RTLD: %p = dlsym(%p, %s)", ut->mapbase, ut->handle, | fprintf(fp, "RTLD: %p = dlsym(%p, %s)", ut->mapbase, ut->handle, | ||||
ut->name); | ut->name); | ||||
break; | break; | ||||
case UTRACE_RTLD_ERROR: | |||||
fprintf(fp, "RTLD: error: %s\n", ut->name); | |||||
break; | |||||
default: | default: | ||||
return (0); | return (0); | ||||
} | } | ||||
return (1); | return (1); | ||||
} | } | ||||
struct utrace_malloc { | struct utrace_malloc { | ||||
void *p; | void *p; | ||||
▲ Show 20 Lines • Show All 76 Lines • Show Last 20 Lines |