[PATCH] tests: Limit varlocs print_expr_block recursion depth.

2018-06-26 Thread Mark Wielaard
This is only useful for bad DWARF where an expression block might have an expression that refers to a DIE that contains the expression block itself. But that might happen with bad DWARF generated by a fuzzer. Signed-off-by: Mark Wielaard --- tests/ChangeLog | 7 +++ tests/varlocs.c | 30 +++

[PATCH] libdw: Remove dwarf_getscn_info from libdw.h and libdw.map.

2018-06-26 Thread Mark Wielaard
This function was never actually implemented/provided by libdw. And it doesn't look like something we really want to implement. Signed-off-by: Mark Wielaard --- libdw/ChangeLog | 5 + libdw/libdw.h | 3 --- libdw/libdw.map | 1 - 3 files changed, 5 insertions(+), 4 deletions(-) diff --git