]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdw: Reject DW_OP_implicit_value in CFI.
authorMark Wielaard <mark@klomp.org>
Sat, 27 Apr 2019 21:58:57 +0000 (23:58 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 27 Apr 2019 22:03:13 +0000 (00:03 +0200)
commit2b55f157cd74278c0c01e8605de3bbb160d3bde4
tree67dca1f9a4f48d12a24432917cb37160c47a69b5
parentf8000d58a009379a3c7aa2267d7a473f12ac8be5
libdw: Reject DW_OP_implicit_value in CFI.

When we encounter a DW_OP_implicit_value we call store_implicit_value ()
which will try to store the value as part of the Dwarf dbg. But if we are
examining CFI there will be no Dwarf dbg. And DW_OP_implicit_value should
not be part of CFI. So explicitly reject it in store_implicit_value if
dbg is NULL.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/dwarf_getlocation.c