[PATCH] readelf: DW_OP_call_ref and DW_OP_GNU_implicit_pointer are invalid for CFA.
Mark Wielaard
mjw at redhat.com
Thu Dec 11 14:17:05 UTC 2014
On Sun, 2014-12-07 at 23:46 +0100, Mark Wielaard wrote:
> print_cfa_program might call print_ops with zero offset size. We don't
> need (and don't know) the DWARF offset size in that case. DW_OP_call_ref
> and DW_OP_GNU_implicit_pointer need to know the offset size because they
> reference a DIE. But they are invalid when used from CFA.
>
> +2014-12-07 Mark Wielaard <mjw at redhat.com>
> +
> + * readelf.c (print_ops): Handle zero ref_size for DW_OP_call_ref
> + and DW_OP_GNU_implicit_pointer.
I pushed this to master.
More information about the elfutils-devel
mailing list