<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/elfutils.git/libdw/ChangeLog, branch users/mark/try-inline-lto-scopes</title>
<subtitle>sourceware.org: git/elfutils.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/'/>
<entry>
<title>libdw: Search for abstract origin in the correct CU</title>
<updated>2023-01-22T00:33:39+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2023-01-21T23:31:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=bfc4752e3ad949443ee14a6df2d2e4aeafab7b31'/>
<id>bfc4752e3ad949443ee14a6df2d2e4aeafab7b31</id>
<content type='text'>
With gcc -flto the abstract origin of an inlined subroutine
could be in a different CU. dwarf_getscopes might return an
empty scope if it cannot find the abstract origin scope. So
make sure to search in the

We also tried to add the origin match in pc_record directly
in the current inlined scope. This always failed, causing
to do a needless traversal, followed by the full CU scan in
dwarf_getscopes. Just always stop the pc_record search and
then do the CU origin_match in dwarf_getscopes.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With gcc -flto the abstract origin of an inlined subroutine
could be in a different CU. dwarf_getscopes might return an
empty scope if it cannot find the abstract origin scope. So
make sure to search in the

We also tried to add the origin match in pc_record directly
in the current inlined scope. This always failed, causing
to do a needless traversal, followed by the full CU scan in
dwarf_getscopes. Just always stop the pc_record search and
then do the CU origin_match in dwarf_getscopes.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not use relative include paths in library files.</title>
<updated>2022-12-20T17:41:05+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2022-12-20T13:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=6ecd16410ce1fe5cb0ac5b7c3342c5cc330e3a04'/>
<id>6ecd16410ce1fe5cb0ac5b7c3342c5cc330e3a04</id>
<content type='text'>
Rely on include dirs being set up correctly. Setup libdw AM_CPPFLAGS
to include libebl directory. In libdwfl note that debuginfod.h is a
generated file in the builddir. Only include it in the one file
debuginfod-client.c that really needs it.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rely on include dirs being set up correctly. Setup libdw AM_CPPFLAGS
to include libebl directory. In libdwfl note that debuginfod.h is a
generated file in the builddir. Only include it in the one file
debuginfod-client.c that really needs it.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdw: Change typeof -&gt; __typeof in memory-access.h</title>
<updated>2022-12-12T13:07:56+00:00</updated>
<author>
<name>Yonggang Luo</name>
<email>luoyonggang@gmail.com</email>
</author>
<published>2022-10-20T18:25:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=78dd3b32edf55fc8bdc6268163d5d743a84b1075'/>
<id>78dd3b32edf55fc8bdc6268163d5d743a84b1075</id>
<content type='text'>
Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdw: Don't dereference and assign values we are skipping</title>
<updated>2022-11-03T12:44:35+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2022-11-03T12:44:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=b0a0235771906e3bcd6174c4e3c020b5522b0be5'/>
<id>b0a0235771906e3bcd6174c4e3c020b5522b0be5</id>
<content type='text'>
We don't use the FDE address encoding byte, so no reason
to read and store it. Just skip past it.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We don't use the FDE address encoding byte, so no reason
to read and store it. Just skip past it.

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib{asm,cpu,dw,dwfl,dwelf}: Move platform depended include into system.h</title>
<updated>2022-10-28T12:05:07+00:00</updated>
<author>
<name>Yonggang Luo</name>
<email>luoyonggang@gmail.com</email>
</author>
<published>2022-10-20T18:25:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=9f90a3d6636bbf6eec647909f870137eef2d1bd9'/>
<id>9f90a3d6636bbf6eec647909f870137eef2d1bd9</id>
<content type='text'>
Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>readelf: Handle DW_LLE_GNU_view_pair</title>
<updated>2022-10-27T13:28:32+00:00</updated>
<author>
<name>Mark Wielaard</name>
<email>mark@klomp.org</email>
</author>
<published>2022-10-19T22:02:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=85f4c22f60c87bd2f67b241974f1b5f0f355a29b'/>
<id>85f4c22f60c87bd2f67b241974f1b5f0f355a29b</id>
<content type='text'>
DW_LLE_GNU_view_pair is used by gcc -gvariable-location-views=incompat5.
As described in http://www.fsfla.org/~lxoliva/papers/sfn/dwarf6-sfn-lvu.txt
and proposed for DWARF6 https://dwarfstd.org/ShowIssue.php?issue=170427.1

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
DW_LLE_GNU_view_pair is used by gcc -gvariable-location-views=incompat5.
As described in http://www.fsfla.org/~lxoliva/papers/sfn/dwarf6-sfn-lvu.txt
and proposed for DWARF6 https://dwarfstd.org/ShowIssue.php?issue=170427.1

Signed-off-by: Mark Wielaard &lt;mark@klomp.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdw: Use #include &lt;system.h&gt; instead of &lt;endian.h&gt; in memory-access.h</title>
<updated>2022-10-27T13:24:46+00:00</updated>
<author>
<name>Yonggang Luo</name>
<email>luoyonggang@gmail.com</email>
</author>
<published>2022-10-20T18:25:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=8aa88041e0e33a5fd9ec6e7e04cc72a58f764d7f'/>
<id>8aa88041e0e33a5fd9ec6e7e04cc72a58f764d7f</id>
<content type='text'>
Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Strip __ prefix from __BYTE_ORDER __LITTLE_ENDIAN and __BIG_ENDIAN</title>
<updated>2022-10-17T08:35:21+00:00</updated>
<author>
<name>Yonggang Luo</name>
<email>luoyonggang@gmail.com</email>
</author>
<published>2022-09-20T08:43:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=0e18267a05247b5bda60115270203b4ad3af8e55'/>
<id>0e18267a05247b5bda60115270203b4ad3af8e55</id>
<content type='text'>
__BYTE_ORDER, __LITTLE_ENDIAN and __BIG_ENDIAN are defined by the
gcc/clang preprocessor. BYTE_ORDER, LITTLE_ENDIAN and BIG_ENDIAN are
defined in &lt;endian.h&gt;.

Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__BYTE_ORDER, __LITTLE_ENDIAN and __BIG_ENDIAN are defined by the
gcc/clang preprocessor. BYTE_ORDER, LITTLE_ENDIAN and BIG_ENDIAN are
defined in &lt;endian.h&gt;.

Signed-off-by: Yonggang Luo &lt;luoyonggang@gmail.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>libdwfl: add dwfl_report_offline_memory</title>
<updated>2022-10-16T15:09:42+00:00</updated>
<author>
<name>Aleksei Vetrov</name>
<email>vvvvvv@google.com</email>
</author>
<published>2022-09-20T13:36:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=64ee2cb792e7b6ba6ad2a5759bff7ce8714e4668'/>
<id>64ee2cb792e7b6ba6ad2a5759bff7ce8714e4668</id>
<content type='text'>
This method allows to read and report ELF from memory instead of opening
a file. That way arbitrary memory can be worked with, e.g. when coming
from a stream without the need to persist.

Another useful application is for fuzzing, because fuzzers might be able
to track accesses to the memory and change the fuzzer input to cover
more edge cases through more targeted input. Hence, add a new function
along with a test case.

Signed-off-by: Aleksei Vetrov &lt;vvvvvv@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method allows to read and report ELF from memory instead of opening
a file. That way arbitrary memory can be worked with, e.g. when coming
from a stream without the need to persist.

Another useful application is for fuzzing, because fuzzers might be able
to track accesses to the memory and change the fuzzer input to cover
more edge cases through more targeted input. Hence, add a new function
along with a test case.

Signed-off-by: Aleksei Vetrov &lt;vvvvvv@google.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fill in fde_augmentation_data_size in dwarf_next_cfi</title>
<updated>2022-08-11T13:17:33+00:00</updated>
<author>
<name>Ulrich Drepper</name>
<email>drepper@gmail.com</email>
</author>
<published>2022-08-11T13:17:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/elfutils.git/commit/?id=27447fbc646e2a5abdf6af26967d829847180507'/>
<id>27447fbc646e2a5abdf6af26967d829847180507</id>
<content type='text'>
(dwarf_next_cfi): Don't skip processing the augmentation string.
Be more stringent what to accept.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(dwarf_next_cfi): Don't skip processing the augmentation string.
Be more stringent what to accept.
</pre>
</div>
</content>
</entry>
</feed>
