diff options
author | andrew <andrew@FreeBSD.org> | 2015-12-23 17:54:19 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2015-12-23 17:54:19 +0000 |
commit | f57b487e00ed9d7e13bd98bcaa372f0e949627c9 (patch) | |
tree | 54eef67746b810e27f9ec4f2dfafe825e022f31b /lib/libc | |
parent | a266f2369acc88773cc3cea71ff7ce9bda3ead9c (diff) | |
download | FreeBSD-src-f57b487e00ed9d7e13bd98bcaa372f0e949627c9.zip FreeBSD-src-f57b487e00ed9d7e13bd98bcaa372f0e949627c9.tar.gz |
Be stricter on which functions we can probe with FBT. We now only check the
first instruction to see if it's either a pushm with lr, or a sub with sp.
The former is the common case, with the latter used with va_args.
This removes 12 probes. These are all hand-written assembly, with a few C
functions with no stack usage.
Submitted by: Howard Su <howard0su@gmail.com>
Differential Revision: https://reviews.freebsd.org/D4419
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions