53,6 → 53,9 |
printf("memset\n"); |
memset(info, 0, sizeof(info)); |
|
soname_idx = 0; |
rpath_idx = 0; |
|
printf("pass 1\n"); |
while (dp->d_tag != DT_NULL) { |
d_ptr = (void *)((uint8_t *)dp->d_un.d_ptr + bias); |
91,6 → 94,10 |
|
info->soname = info->str_tab + soname_idx; |
info->rpath = info->str_tab + rpath_idx; |
printf("str_tab=0x%x, soname_idx=0x%x, soname=0x%x\n", |
(uintptr_t)info->soname, soname_idx, (uintptr_t)info->soname); |
printf("soname='%s'\n", info->soname); |
printf("rpath='%s'\n", info->rpath); |
|
/* |
* Now that we have a pointer to the string table, |