<feed xmlns='http://www.w3.org/2005/Atom'>
<title>android_external_strace/unwind.c, branch stable/cm-12.0-YNG3C</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/'/>
<entry>
<title>unwind: ignore memory mappings that have no PROT_EXEC bit set</title>
<updated>2014-06-13T15:58:00+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-13T14:50:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=73741d2e2ee0f9d446b0dc2fbc70be3f5b10521b'/>
<id>73741d2e2ee0f9d446b0dc2fbc70be3f5b10521b</id>
<content type='text'>
* unwind.c (build_mmap_cache): For each memory mapping being scanned,
save its PROT_EXEC bit and skip the mapping if it is not set.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (build_mmap_cache): For each memory mapping being scanned,
save its PROT_EXEC bit and skip the mapping if it is not set.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: cleanup build_mmap_cache</title>
<updated>2014-06-13T15:56:40+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-12T14:01:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=9a349c7779c1c0da89b4eb2821c3b5e6de84adcf'/>
<id>9a349c7779c1c0da89b4eb2821c3b5e6de84adcf</id>
<content type='text'>
* unwind.c (build_mmap_cache): Move local variables to the code branch
where they are used.  Check return code of sscanf and strdup.  Do not
treat unusual memory mappings as fatal errors.  Do not skip memory
mappings with path names starting with "[".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (build_mmap_cache): Move local variables to the code branch
where they are used.  Check return code of sscanf and strdup.  Do not
treat unusual memory mappings as fatal errors.  Do not skip memory
mappings with path names starting with "[".
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: remove unused field from mmap_cache_t</title>
<updated>2014-06-13T14:20:08+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-13T14:20:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=2222b928c65b1259f27625d6e50627865fb75336'/>
<id>2222b928c65b1259f27625d6e50627865fb75336</id>
<content type='text'>
* unwind.c (mmap_cache_t): Remove "deleted" field.
(build_mmap_cache): Remove initialization of "deleted" field.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (mmap_cache_t): Remove "deleted" field.
(build_mmap_cache): Remove initialization of "deleted" field.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: refactor stacktrace_walk</title>
<updated>2014-06-12T22:12:31+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-05T22:28:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=52840ede0c72d90b9dad3dc829ef4b4909d51ab6'/>
<id>52840ede0c72d90b9dad3dc829ef4b4909d51ab6</id>
<content type='text'>
* unwind.c (stacktrace_walk): Move stack frame printing code
to separate function print_stack_frame.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (stacktrace_walk): Move stack frame printing code
to separate function print_stack_frame.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: constify binary_filename and symbol_name functions arguments</title>
<updated>2014-06-12T22:10:59+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-05T22:37:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=806539c55c8697f7f0a4bfd95345f216797fe7e0'/>
<id>806539c55c8697f7f0a4bfd95345f216797fe7e0</id>
<content type='text'>
* unwind.c (call_action_fn, print_call_cb, sprint_call_or_error,
queue_put, queue_put_call): Add const qualifier to binary_filename and
symbol_name arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (call_action_fn, print_call_cb, sprint_call_or_error,
queue_put, queue_put_call): Add const qualifier to binary_filename and
symbol_name arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: disable stack trace with multiple personalities</title>
<updated>2014-06-11T00:09:55+00:00</updated>
<author>
<name>Luca Clementi</name>
<email>luca.clementi@gmail.com</email>
</author>
<published>2014-06-10T05:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=f1d73110a00122879a0fdb63bbeffc0bd161e857'/>
<id>f1d73110a00122879a0fdb63bbeffc0bd161e857</id>
<content type='text'>
* unwind.c (unwind_cache_invalidate, unwind_print_stacktrace,
unwind_capture_stacktrace): Disable stack tracing of non-default
personality processes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (unwind_cache_invalidate, unwind_print_stacktrace,
unwind_capture_stacktrace): Disable stack tracing of non-default
personality processes.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: rename function_off_set to function_offset</title>
<updated>2014-06-05T23:00:28+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-05T21:44:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=6555711a6ee9b63a5a9c5e3e530d066306c0760c'/>
<id>6555711a6ee9b63a5a9c5e3e530d066306c0760c</id>
<content type='text'>
* unwind.c (call_action_fn, stacktrace_walk, STACK_ENTRY_SYMBOL_FMT,
print_call_cb, sprint_call_or_error, queue_put, queue_put_call):
Rename function_off_set to function_offset.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (call_action_fn, stacktrace_walk, STACK_ENTRY_SYMBOL_FMT,
print_call_cb, sprint_call_or_error, queue_put, queue_put_call):
Rename function_off_set to function_offset.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: fix a bug in range updating of binary search</title>
<updated>2014-06-05T21:40:43+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-05T21:40:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=c12eb1117c8d91773ea0c138eb220addec1448d0'/>
<id>c12eb1117c8d91773ea0c138eb220addec1448d0</id>
<content type='text'>
* unwind.c (print_stacktrace): Fix another off-by-one error in binary search.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (print_stacktrace): Fix another off-by-one error in binary search.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: use fopen64 instead of fopen</title>
<updated>2014-06-05T15:42:05+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-05T15:12:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=c903c822ee94478bff1732eb80744e201c074d26'/>
<id>c903c822ee94478bff1732eb80744e201c074d26</id>
<content type='text'>
* unwind.c (fopen_for_input): Define to fopen64 iff
[_LARGEFILE64_SOURCE &amp;&amp; HAVE_FOPEN64], otherwise define it to fopen.
(build_mmap_cache): Use fopen_for_input instead of fopen.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* unwind.c (fopen_for_input): Define to fopen64 iff
[_LARGEFILE64_SOURCE &amp;&amp; HAVE_FOPEN64], otherwise define it to fopen.
(build_mmap_cache): Use fopen_for_input instead of fopen.
</pre>
</div>
</content>
</entry>
<entry>
<title>unwind: fix build on 32-bit architectures</title>
<updated>2014-06-05T15:42:05+00:00</updated>
<author>
<name>Dmitry V. Levin</name>
<email>ldv@altlinux.org</email>
</author>
<published>2014-06-05T14:37:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.replicant.us/mirrors/LineageOS/android_external_strace/commit/?id=e4113974893293c82f177fe4195cac0a5b70465a'/>
<id>e4113974893293c82f177fe4195cac0a5b70465a</id>
<content type='text'>
Fix compilation warnings in unwind.c on 32-bit architectures.
On some architectures getuid is actually getuid32, so change the test
to use getpid instead of getuid.

* unwind.c (STACK_ENTRY_SYMBOL_FMT): Explicitly cast function_off_set
to unsigned long.
(queue_put_error): Change the 3rd argument's type to unsigned long.
* tests/stack-fcall.c (f1): Use getpid instead of getuid.
* tests/strace-k.test: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix compilation warnings in unwind.c on 32-bit architectures.
On some architectures getuid is actually getuid32, so change the test
to use getpid instead of getuid.

* unwind.c (STACK_ENTRY_SYMBOL_FMT): Explicitly cast function_off_set
to unsigned long.
(queue_put_error): Change the 3rd argument's type to unsigned long.
* tests/stack-fcall.c (f1): Use getpid instead of getuid.
* tests/strace-k.test: Likewise.
</pre>
</div>
</content>
</entry>
</feed>
