<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libproc, branch releng/10.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>Fix the return value when we found a symbol in .dynstr. This nasty bug was</title>
<updated>2013-08-10T07:39:15+00:00</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2013-08-10T07:39:15+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=7bc9877d2021fb83d49ecefbdad04c6677c086be'/>
<id>7bc9877d2021fb83d49ecefbdad04c6677c086be</id>
<content type='text'>
preventing a lot of symbol lookups in dtruss -s, for example.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
preventing a lot of symbol lookups in dtruss -s, for example.
</pre>
</div>
</content>
</entry>
<entry>
<title>- Compute the correct size to reallocate when doubling the size of the</title>
<updated>2013-01-28T15:48:31+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2013-01-28T15:48:31+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4e67575ec91eb4255320be647872e3a5c83d53e9'/>
<id>4e67575ec91eb4255320be647872e3a5c83d53e9</id>
<content type='text'>
  array of loaded objects to avoid a buffer overrun.
- Use reallocf() to avoid leaking memory if the realloc() fails.

PR:		kern/175648
Submitted by:	yuri@rawbw.com (1)
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  array of loaded objects to avoid a buffer overrun.
- Use reallocf() to avoid leaking memory if the realloc() fails.

PR:		kern/175648
Submitted by:	yuri@rawbw.com (1)
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix libproc test case to work with clang premature optimization</title>
<updated>2012-12-26T05:11:48+00:00</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@FreeBSD.org</email>
</author>
<published>2012-12-26T05:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=322f22f7b5c02c5a4631f8c4487c02e73f2c6994'/>
<id>322f22f7b5c02c5a4631f8c4487c02e73f2c6994</id>
<content type='text'>
observed with -O2 (used by default).
Avoid function inlining for t1_bkpt_t on which we set a breakpoint.
Otherwise the address of the function is never called thus the
breakpoint never triggers.

Reported by:	zont
Reviewed by:	rpaulo
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
observed with -O2 (used by default).
Avoid function inlining for t1_bkpt_t on which we set a breakpoint.
Otherwise the address of the function is never called thus the
breakpoint never triggers.

Reported by:	zont
Reviewed by:	rpaulo
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement DTrace for PowerPC.  This includes both 32-bit and 64-bit.</title>
<updated>2012-11-07T23:45:09+00:00</updated>
<author>
<name>Justin Hibbits</name>
<email>jhibbits@FreeBSD.org</email>
</author>
<published>2012-11-07T23:45:09+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c757049235edc6ecca32c6c584f7d5582aaeb74a'/>
<id>c757049235edc6ecca32c6c584f7d5582aaeb74a</id>
<content type='text'>
There is one known issue:  Some probes will display an error message along the
lines of:  "Invalid address (0)"

I tested this with both a simple dtrace probe and dtruss on a few different
binaries on 32-bit.  I only compiled 64-bit, did not run it, but I don't expect
problems without the modules loaded.  Volunteers are welcome.

MFC after:	1 month
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There is one known issue:  Some probes will display an error message along the
lines of:  "Invalid address (0)"

I tested this with both a simple dtrace probe and dtruss on a few different
binaries on 32-bit.  I only compiled 64-bit, did not run it, but I don't expect
problems without the modules loaded.  Volunteers are welcome.

MFC after:	1 month
</pre>
</div>
</content>
</entry>
<entry>
<title>When calling the C++ demangler, make sure to free the returned buffer,</title>
<updated>2012-09-07T02:38:07+00:00</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2012-09-07T02:38:07+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=404087cc0671cd5fd78331de4a67a721800385a0'/>
<id>404087cc0671cd5fd78331de4a67a721800385a0</id>
<content type='text'>
which might have been reallocated.

Pointed out by:	stefanf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
which might have been reallocated.

Pointed out by:	stefanf
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for demangling C++ symbols. This requires linking libproc with</title>
<updated>2012-09-06T03:19:48+00:00</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2012-09-06T03:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=cd906041ea40593ed15d775e20fc789013e1f03d'/>
<id>cd906041ea40593ed15d775e20fc789013e1f03d</id>
<content type='text'>
libc++rt/libsupc++.

Discussed with:	theraven
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libc++rt/libsupc++.

Discussed with:	theraven
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test cases to work with the latest version of the API.</title>
<updated>2012-09-06T01:24:18+00:00</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2012-09-06T01:24:18+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=202f1c2c8d7bb9630788d1dc55848b89fee81cb4'/>
<id>202f1c2c8d7bb9630788d1dc55848b89fee81cb4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make sure we visit both symbol sections even if one of them doesn't</title>
<updated>2012-09-02T18:14:01+00:00</updated>
<author>
<name>Rui Paulo</name>
<email>rpaulo@FreeBSD.org</email>
</author>
<published>2012-09-02T18:14:01+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=19a75aff51b3b0025d5a8d6341c817ac5c3053be'/>
<id>19a75aff51b3b0025d5a8d6341c817ac5c3053be</id>
<content type='text'>
exist. This makes it possible to dtrace some C++ programs like devd.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
exist. This makes it possible to dtrace some C++ programs like devd.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make libproc compilable for MIPS</title>
<updated>2012-03-23T23:07:02+00:00</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2012-03-23T23:07:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f2242861f8e46331c78d0e8050c1ef6c452f0377'/>
<id>f2242861f8e46331c78d0e8050c1ef6c452f0377</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix a serious bug in libproc's proc_attach</title>
<updated>2011-08-03T09:55:59+00:00</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2011-08-03T09:55:59+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a8375da0d32591f81e799a2bcebebc4ba918ed12'/>
<id>a8375da0d32591f81e799a2bcebebc4ba918ed12</id>
<content type='text'>
proc_attach always frees any struct proc_handle data
that it allocates, but that is supposed to be done
only in error conditions.

PR:		bin/158431
Approved by:	re (kib)
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
proc_attach always frees any struct proc_handle data
that it allocates, but that is supposed to be done
only in error conditions.

PR:		bin/158431
Approved by:	re (kib)
MFC after:	1 week
</pre>
</div>
</content>
</entry>
</feed>
