Hi Roland,
jankratochvil/pie-core
it was already self-discussed at the bottom of "[API RFC] unwinder".
To load a PIE executable together with a core file one cannot relocate the
executable to the proper VMA.
Shared libraries are located by Dwfl_Callbacks->find_elf which will put them
proper displacement. But the main executable is only specified via
--executable and one cannot easily associate it to the proper core segment.
(It may get associated via build-id but build-id does not have to be available
etc.)
With --core=X --executable=Y order one gets:
0x7ff2cfe9b000 0x7ff2d009c000 [pie]
0x200000 0x400ac0
where the second entry is not relocated.
Similarly it looks for the order --executable=Y --core=X:
0x200000 0x400ac0
0x7ff2cfe9b000 0x7ff2d009c000 [pie]
In both cases the main executable symbols are based at address 0x200000 while
we need them at address 0x7ff2cfe9b000.
The parse_opt diff below has many whitespace changes, one can use -w:
git diff origin/master..origin/jankratochvil/pie-core -w libdwfl/argp-std.c
Thanks,
Jan
commit d01e339994eb1be65017eaf2f7fff8b77f3ff1f3
Author: Jan Kratochvil <jan.kratochvil(a)redhat.com>
Date: Thu Oct 18 00:11:30 2012 +0200
libdwfl/
2012-10-17 Jan Kratochvil <jan.kratochvil(a)redhat.com>
* argp-std.c (offline_find_elf): New function.
(offline_callbacks): Use it for FIND_ELF.
(struct parse_opt): New.
(parse_opt): New KEY ARGP_KEY_INIT. In other make HOOK struct
parse_opt pointer from former Dwfl pointer. Delay 'e and OPT_COREFILE
processing till ARGP_KEY_SUCCESS. Initialize state->INPUT already from
ARGP_KEY_SUCCESS. Modify the cleanup in ARGP_KEY_ERROR. Make the final state->INPUT initialization optional.
* libdwfl.h (dwfl_standard_argp): Extend the comment for USERDATA.
tests/
2012-10-17 Jan Kratochvil <jan.kratochvil(a)redhat.com>
* run-addrname-test.sh: New test for PIE relocation.
* testfile70.core.bz2: New file.
* testfile70.exec.bz2: New file.
Signed-off-by: Jan Kratochvil <jan.kratochvil(a)redhat.com>
diff --git a/libdwfl/ChangeLog b/libdwfl/ChangeLog
index bdd9440..3919973 100644
--- a/libdwfl/ChangeLog
+++ b/libdwfl/ChangeLog
@@ -1,5 +1,16 @@
2012-10-17 Jan Kratochvil <jan.kratochvil(a)redhat.com>
+ * argp-std.c (offline_find_elf): New function.
+ (offline_callbacks): Use it for FIND_ELF.
+ (struct parse_opt): New.
+ (parse_opt): New KEY ARGP_KEY_INIT. In other make HOOK struct
+ parse_opt pointer from former Dwfl pointer. Delay 'e and OPT_COREFILE
+ processing till ARGP_KEY_SUCCESS. Initialize state->INPUT already from
+ ARGP_KEY_SUCCESS. Modify the cleanup in ARGP_KEY_ERROR. Make the final state->INPUT initialization optional.
+ * libdwfl.h (dwfl_standard_argp): Extend the comment for USERDATA.
+
+2012-10-17 Jan Kratochvil <jan.kratochvil(a)redhat.com>
+
* dwfl_module_getdwarf.c (mod_verify_build_id): New function with code
from ...
(__libdwfl_getelf): ... here. Call it.
diff --git a/libdwfl/argp-std.c b/libdwfl/argp-std.c
index 2ef4555..f0c530f 100644
--- a/libdwfl/argp-std.c
+++ b/libdwfl/argp-std.c
@@ -60,6 +60,27 @@ static const struct argp_option options[] =
{ NULL, 0, NULL, 0, NULL, 0 }
};
+/* Wrapper to provide proper FILE_NAME for -e|--executable. */
+static int
+offline_find_elf (Dwfl_Module *mod, void **userdata, const char *modname,
+ Dwarf_Addr base, char **file_name, Elf **elfp)
+{
+ if (modname != NULL && (strcmp (modname, "[exe]") == 0
+ || strcmp (modname, "[pie]") == 0)
+ && *userdata)
+ {
+ char *e_dup = strdup (*userdata);
+ if (e_dup)
+ {
+ free (*file_name);
+ *file_name = e_dup;
+ return -1;
+ }
+ }
+ return INTUSE(dwfl_build_id_find_elf) (mod, userdata, modname, base,
+ file_name, elfp);
+}
+
static char *debuginfo_path;
static const Dwfl_Callbacks offline_callbacks =
@@ -70,7 +91,7 @@ static const Dwfl_Callbacks offline_callbacks =
.section_address = INTUSE(dwfl_offline_section_address),
/* We use this table for core files too. */
- .find_elf = INTUSE(dwfl_build_id_find_elf),
+ .find_elf = offline_find_elf,
};
static const Dwfl_Callbacks proc_callbacks =
@@ -90,6 +111,16 @@ static const Dwfl_Callbacks kernel_callbacks =
.section_address = INTUSE(dwfl_linux_kernel_module_section_address),
};
+/* Structure held at state->HOOK. */
+struct parse_opt
+{
+ Dwfl *dwfl;
+ /* The -e|--executable parameter. */
+ const char *e;
+ /* The --core parameter. */
+ const char *core;
+};
+
static error_t
parse_opt (int key, char *arg, struct argp_state *state)
{
@@ -111,152 +142,142 @@ parse_opt (int key, char *arg, struct argp_state *state)
switch (key)
{
+ case ARGP_KEY_INIT:
+ {
+ assert (state->hook == NULL);
+ struct parse_opt *opt = calloc (1, sizeof (*opt));
+ if (opt == NULL)
+ failure (NULL, DWFL_E_ERRNO, "calloc");
+ state->hook = opt;
+ }
+ break;
+
case OPT_DEBUGINFO:
debuginfo_path = arg;
break;
case 'e':
{
- Dwfl *dwfl = state->hook;
+ struct parse_opt *opt = state->hook;
+ Dwfl *dwfl = opt->dwfl;
if (dwfl == NULL)
{
dwfl = INTUSE(dwfl_begin) (&offline_callbacks);
if (dwfl == NULL)
return fail (dwfl, -1, arg);
- state->hook = dwfl;
+ opt->dwfl = dwfl;
/* Start at zero so if there is just one -e foo.so,
the DSO is shown without address bias. */
dwfl->offline_next_address = 0;
}
- if (dwfl->callbacks == &offline_callbacks)
- {
- if (INTUSE(dwfl_report_offline) (dwfl, "", arg, -1) == NULL)
- return fail (dwfl, -1, arg);
- state->hook = dwfl;
- }
- else
+ if (dwfl->callbacks != &offline_callbacks)
{
toomany:
argp_error (state, "%s",
_("only one of -e, -p, -k, -K, or --core allowed"));
return EINVAL;
}
+ opt->e = arg;
}
break;
case 'p':
- if (state->hook == NULL)
- {
- Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks);
- int result = INTUSE(dwfl_linux_proc_report) (dwfl, atoi (arg));
- if (result != 0)
- return fail (dwfl, result, arg);
- state->hook = dwfl;
- }
- else
- goto toomany;
+ {
+ struct parse_opt *opt = state->hook;
+ if (opt->dwfl == NULL)
+ {
+ Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks);
+ int result = INTUSE(dwfl_linux_proc_report) (dwfl, atoi (arg));
+ if (result != 0)
+ return fail (dwfl, result, arg);
+ opt->dwfl = dwfl;
+ }
+ else
+ goto toomany;
+ }
break;
case 'M':
- if (state->hook == NULL)
- {
- FILE *f = fopen (arg, "r");
- if (f == NULL)
- nofile:
- {
- int code = errno;
- argp_failure (state, EXIT_FAILURE, code,
- "cannot open '%s'", arg);
- return code;
- }
- Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks);
- int result = INTUSE(dwfl_linux_proc_maps_report) (dwfl, f);
- fclose (f);
- if (result != 0)
- return fail (dwfl, result, arg);
- state->hook = dwfl;
- }
- else
- goto toomany;
+ {
+ struct parse_opt *opt = state->hook;
+ if (opt->dwfl == NULL)
+ {
+ FILE *f = fopen (arg, "r");
+ if (f == NULL)
+ nofile:
+ {
+ int code = errno;
+ argp_failure (state, EXIT_FAILURE, code,
+ "cannot open '%s'", arg);
+ return code;
+ }
+ Dwfl *dwfl = INTUSE(dwfl_begin) (&proc_callbacks);
+ int result = INTUSE(dwfl_linux_proc_maps_report) (dwfl, f);
+ fclose (f);
+ if (result != 0)
+ return fail (dwfl, result, arg);
+ opt->dwfl = dwfl;
+ }
+ else
+ goto toomany;
+ }
break;
case OPT_COREFILE:
{
- Dwfl *dwfl = state->hook;
+ struct parse_opt *opt = state->hook;
+ Dwfl *dwfl = opt->dwfl;
if (dwfl == NULL)
- state->hook = dwfl = INTUSE(dwfl_begin) (&offline_callbacks);
+ opt->dwfl = dwfl = INTUSE(dwfl_begin) (&offline_callbacks);
/* Permit -e and --core together. */
else if (dwfl->callbacks != &offline_callbacks)
goto toomany;
-
- int fd = open64 (arg, O_RDONLY);
- if (fd < 0)
- goto nofile;
-
- Elf *core;
- Dwfl_Error error = __libdw_open_file (&fd, &core, true, false);
- if (error != DWFL_E_NOERROR)
- {
- argp_failure (state, EXIT_FAILURE, 0,
- _("cannot read ELF core file: %s"),
- INTUSE(dwfl_errmsg) (error));
- return error == DWFL_E_ERRNO ? errno : EIO;
- }
-
- int result = INTUSE(dwfl_core_file_report) (dwfl, core);
- if (result < 0)
- {
- elf_end (core);
- close (fd);
- return fail (dwfl, result, arg);
- }
-
- /* From now we leak FD and CORE. */
-
- if (result == 0)
- {
- argp_failure (state, EXIT_FAILURE, 0,
- _("No modules recognized in core file"));
- return ENOENT;
- }
+ opt->core = arg;
}
break;
case 'k':
- if (state->hook == NULL)
- {
- Dwfl *dwfl = INTUSE(dwfl_begin) (&kernel_callbacks);
- int result = INTUSE(dwfl_linux_kernel_report_kernel) (dwfl);
- if (result != 0)
- return fail (dwfl, result, _("cannot load kernel symbols"));
- result = INTUSE(dwfl_linux_kernel_report_modules) (dwfl);
- if (result != 0)
- /* Non-fatal to have no modules since we do have the kernel. */
- failure (dwfl, result, _("cannot find kernel modules"));
- state->hook = dwfl;
- }
- else
- goto toomany;
+ {
+ struct parse_opt *opt = state->hook;
+ if (opt->dwfl == NULL)
+ {
+ Dwfl *dwfl = INTUSE(dwfl_begin) (&kernel_callbacks);
+ int result = INTUSE(dwfl_linux_kernel_report_kernel) (dwfl);
+ if (result != 0)
+ return fail (dwfl, result, _("cannot load kernel symbols"));
+ result = INTUSE(dwfl_linux_kernel_report_modules) (dwfl);
+ if (result != 0)
+ /* Non-fatal to have no modules since we do have the kernel. */
+ failure (dwfl, result, _("cannot find kernel modules"));
+ opt->dwfl = dwfl;
+ }
+ else
+ goto toomany;
+ }
break;
case 'K':
- if (state->hook == NULL)
- {
- Dwfl *dwfl = INTUSE(dwfl_begin) (&offline_callbacks);
- int result = INTUSE(dwfl_linux_kernel_report_offline) (dwfl, arg,
- NULL);
- if (result != 0)
- return fail (dwfl, result, _("cannot find kernel or modules"));
- state->hook = dwfl;
- }
- else
- goto toomany;
+ {
+ struct parse_opt *opt = state->hook;
+ if (opt->dwfl == NULL)
+ {
+ Dwfl *dwfl = INTUSE(dwfl_begin) (&offline_callbacks);
+ int result = INTUSE(dwfl_linux_kernel_report_offline) (dwfl, arg,
+ NULL);
+ if (result != 0)
+ return fail (dwfl, result, _("cannot find kernel or modules"));
+ opt->dwfl = dwfl;
+ }
+ else
+ goto toomany;
+ }
break;
case ARGP_KEY_SUCCESS:
{
- Dwfl *dwfl = state->hook;
+ struct parse_opt *opt = state->hook;
+ Dwfl *dwfl = opt->dwfl;
if (dwfl == NULL)
{
@@ -265,7 +286,56 @@ parse_opt (int key, char *arg, struct argp_state *state)
dwfl = INTUSE(dwfl_begin) (&offline_callbacks);
if (INTUSE(dwfl_report_offline) (dwfl, "", arg, -1) == NULL)
return fail (dwfl, -1, arg);
- state->hook = dwfl;
+ opt->dwfl = dwfl;
+ }
+
+ if (opt->core)
+ {
+ int fd = open64 (opt->core, O_RDONLY);
+ if (fd < 0)
+ goto nofile;
+
+ Elf *core;
+ Dwfl_Error error = __libdw_open_file (&fd, &core, true, false);
+ if (error != DWFL_E_NOERROR)
+ {
+ argp_failure (state, EXIT_FAILURE, 0,
+ _("cannot read ELF core file: %s"),
+ INTUSE(dwfl_errmsg) (error));
+ return error == DWFL_E_ERRNO ? errno : EIO;
+ }
+
+ int result = INTUSE(dwfl_core_file_report) (dwfl, core);
+ if (result < 0)
+ {
+ elf_end (core);
+ close (fd);
+ return fail (dwfl, result, opt->core);
+ }
+
+ /* From now we leak FD and CORE. */
+
+ if (result == 0)
+ {
+ argp_failure (state, EXIT_FAILURE, 0,
+ _("No modules recognized in core file"));
+ return ENOENT;
+ }
+
+ if (opt->e)
+ for (Dwfl_Module *mod = dwfl->modulelist; mod; mod = mod->next)
+ {
+ if (mod->name == NULL
+ || (strcmp (mod->name, "[exe]") != 0
+ && strcmp (mod->name, "[pie]") != 0))
+ continue;
+ mod->userdata = (void *) opt->e;
+ }
+ }
+ else if (opt->e)
+ {
+ if (INTUSE(dwfl_report_offline) (dwfl, "", opt->e, -1) == NULL)
+ return fail (dwfl, -1, arg);
}
/* One of the three flavors has done dwfl_begin and some reporting
@@ -274,12 +344,22 @@ parse_opt (int key, char *arg, struct argp_state *state)
int result = INTUSE(dwfl_report_end) (dwfl, NULL, NULL);
assert (result == 0);
+
+ /* Update the input all along, so a parent parser can see it.
+ As we free OPT the update below will be no longer active. */
+ *(Dwfl **) state->input = dwfl;
+ free (opt);
+ state->hook = NULL;
}
break;
case ARGP_KEY_ERROR:
- dwfl_end (state->hook);
- state->hook = NULL;
+ {
+ struct parse_opt *opt = state->hook;
+ dwfl_end (opt->dwfl);
+ free (opt);
+ state->hook = NULL;
+ }
break;
default:
@@ -287,7 +367,10 @@ parse_opt (int key, char *arg, struct argp_state *state)
}
/* Update the input all along, so a parent parser can see it. */
- *(Dwfl **) state->input = state->hook;
+ struct parse_opt *opt = state->hook;
+ if (opt)
+ *(Dwfl **) state->input = opt->dwfl;
+
return 0;
}
diff --git a/libdwfl/libdwfl.h b/libdwfl/libdwfl.h
index 000d582..8498c0c 100644
--- a/libdwfl/libdwfl.h
+++ b/libdwfl/libdwfl.h
@@ -364,7 +364,8 @@ extern int dwfl_linux_proc_find_elf (Dwfl_Module *mod, void **userdata,
const char *module_name, Dwarf_Addr base,
char **file_name, Elf **);
-/* Standard argument parsing for using a standard callback set. */
+/* Standard argument parsing for using a standard callback set.
+ Field Dwfl_Module->USERDATA is reserved for "[exe]" or "[pie]" modules. */
struct argp;
extern const struct argp *dwfl_standard_argp (void) __attribute__ ((const));
diff --git a/tests/ChangeLog b/tests/ChangeLog
index 9e8ad2c..b9674cc 100644
--- a/tests/ChangeLog
+++ b/tests/ChangeLog
@@ -1,5 +1,11 @@
2012-10-17 Jan Kratochvil <jan.kratochvil(a)redhat.com>
+ * run-addrname-test.sh: New test for PIE relocation.
+ * testfile70.core.bz2: New file.
+ * testfile70.exec.bz2: New file.
+
+2012-10-17 Jan Kratochvil <jan.kratochvil(a)redhat.com>
+
* run-addrname-test.sh: New test for DSO with build-id bias.
* testfile69.core.bz2: New file.
* testfile69.so.bz2: New file.
diff --git a/tests/run-addrname-test.sh b/tests/run-addrname-test.sh
index cc8aa33..99abf9d 100755
--- a/tests/run-addrname-test.sh
+++ b/tests/run-addrname-test.sh
@@ -306,4 +306,14 @@ libglobal+0x9
??:0
EOF
+testfiles testfile70.exec testfile70.core
+testrun_compare ../src/addr2line -S -e testfile70.exec --core=testfile70.core 0x7ff2cfe9b6b5 <<\EOF
+main+0x9
+??:0
+EOF
+testrun_compare ../src/addr2line -S --core=testfile70.core -e testfile70.exec 0x7ff2cfe9b6b5 <<\EOF
+main+0x9
+??:0
+EOF
+
exit 0
diff --git a/tests/testfile70.core.bz2 b/tests/testfile70.core.bz2
new file mode 100644
index 0000000000000000000000000000000000000000..6c47c6d45b2ba29d6956cedc43d60c48e77e16be
GIT binary patch
literal 2739
zcmV;k3QYAvT4*^jL0KkKSw1<bdjJxwfB*mg_x}I?|9}7W|4;w_|NhVa-_h0XU)}A(
z;@n>U|9jvHp8x;=00000000040ia|6G|*_s0077hG#NAufB*mtj79`88UO}?pwQ3(
zpaz)+fB*)7fHVw%2AT~S000>Qrh_JdkN^Myk%+*CBR~MqG#VNJGyu~e&;S6?5C(ye
z0MkLEAOHg(G|*(wG5`PoGBFqs#ApB-27^OD27nr58UO$q0szo502*jCWB>qU2AT|-
z20#D+21X+S7>xh}K+tGt0MG+WgFpZSKtLJ>Km$z%jDP?PfYU*fK*#_90La8(LlK|=
zXc`R-02%;kkZ1q^XaQ72ARqy#(?s+pYGN}~^b-@wPh~X3YI&k*kv6BbC#Fn?sK{h#
zrkI8yJrmMt=mdIcnomfX83vjjk)tLIiR3$#tEl^azh!0}+Va}At9&*GnzcmA>RPch
z?cM_^y^O^6NoOR7f|e_354@LCem4;j#bk^%$%8gcD{QeVwlP}2p1S?}MJ6w*q)erP
zi!M^twOMVJQpVLqv{LozU2W^tu~<s$$*Rkve7ViALfP%`I>$!Ay|KUJeO{+^m!p`!
znHQczp=rlwhK*Talq$<<x6E<QGBRMnxzBrU9?^xDfwbY$c4?mtzO$&)zFnukQyZVb
z&2z1m?(^_uR`c=WZSPMFdi9f(%%?u8n~sOYS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5cW-_YG^(d?Pcn=Rry24}3x$)w&fLYWfUBIX9Ba@AEWy=qOE
zs|qz5TpP0r(snug%3h34^^q-SR_xiE#_@{*WF^gR^pSwMMs9X~*2vacQ1z^pc`WzL
zVRUYpyL#shp3Q6OvsvZ~?X!gQAAzjaenuw4OVotOnM{*08<|j<luAoK4*&A|2Yk1z
zTe)?+E>f#5d^c2q=%m8Bh~%@^nn{hWgA-Qy+odS@r4alIs+VHKwF;z4Qjdb|aIwCN
z{h3eY&tWi<idemgzj}|cYeBYOR{F&qq7FNdQ4))+_v$JAihEY$@=>(qcYIn_zEtlt
zn*Jl>GhEWl%<0p<rG8f{vRtxudm7%26)7HzioB}L=~z~@?WsyumD=TfY<Js!R;Mq%
z-#)+R@fh7ZVb?RXJ~W<PK6jF}Y_%A<6<G39NwzU6{!K-Z|A$+8IwPN9YCb|Lm#U(~
zKN|~4xTATu@cR$f>OaVSZl-_J?^AnQNc8;5Q{UFC&ndN0@@cnyWW8eFaTnjr<E44|
zUr^<`*O=y*vX|JHR<mA{_P0w`B=R27N56iKgTl;YW;f4KD+Pq}{-5n|IQY2yZlBVp
zr~7REHKruZ)@2_7wKq@8L_J37(<<9Gk5!Y6(q$^jQ68x3CJ9VIMV#ZSUt%q#xScyF
zvfjOUKtdzcVU=DZmi>&Utbc36dv<dk?Umcg9kDA3JA{YuOgTq@MGv@2T5b~h#yV0j
trV{g%N`(@a@MbEnpGcx3aQduF99O339LFb?*k^wccO+AV2?OJrm#}}-OG5wv
literal 0
HcmV?d00001
diff --git a/tests/testfile70.exec.bz2 b/tests/testfile70.exec.bz2
new file mode 100644
index 0000000000000000000000000000000000000000..f1b969afa667b3166d8052481fad793990abd19f
GIT binary patch
literal 2567
zcmV+i3i$OxT4*^jL0KkKSv-wc761t<|NsC0|Ns8?|NsB@|8M{Q|NhVa{n5p2Ma*x5
zYuw&{|NGzwZtfk|ebhbeT(bAQ?;i7l<sn3NJ>jAfF(!bXnkLjSJphc+G{G7)8X5r8
zOo5{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