[PATCH] Extend the ABI list to discard new glibc functions
Lorenzo Martignoni
martignlo at google.com
Fri Nov 29 06:03:02 PST 2013
Hi pcc,
http://llvm-reviews.chandlerc.com/D2291
Files:
lib/dfsan/done_abilist.txt
Index: lib/dfsan/done_abilist.txt
===================================================================
--- lib/dfsan/done_abilist.txt
+++ lib/dfsan/done_abilist.txt
@@ -43,27 +43,47 @@
fun:toupper=functional
# Functions that return a value that is data-dependent on the input.
+fun:btowc=functional
fun:exp=functional
fun:exp2=functional
+fun:fabs=functional
+fun:finite=functional
+fun:floor=functional
+fun:fmod=functional
+fun:isinf=functional
+fun:isnan=functional
fun:log=functional
+fun:modf=functional
+fun:pow=functional
+fun:round=functional
fun:sqrt=functional
+fun:wctob=functional
# Functions that produce an output that does not depend on the input (shadow is
# zeroed automatically).
+fun:__assert_fail=discard
fun:__ctype_b_loc=discard
fun:__cxa_atexit=discard
fun:__errno_location=discard
fun:__newlocale=discard
fun:__sbrk=discard
+fun:__sigsetjmp=discard
fun:__uselocale=discard
+fun:__wctype_l=discard
fun:access=discard
+fun:alarm=discard
fun:atexit=discard
+fun:bind=discard
fun:chdir=discard
fun:close=discard
+fun:closedir=discard
fun:connect=discard
fun:dladdr=discard
+fun:dlclose=discard
fun:fclose=discard
+fun:fcntl=discard
fun:feof=discard
+fun:ferror=discard
fun:fflush=discard
fun:fileno=discard
fun:fopen=discard
@@ -76,14 +96,22 @@
fun:ftell=discard
fun:fwrite=discard
fun:getenv=discard
+fun:getuid=discard
fun:geteuid=discard
fun:getpagesize=discard
fun:getpid=discard
+fun:kill=discard
+fun:listen=discard
fun:lseek=discard
fun:mkdir=discard
fun:mmap=discard
fun:munmap=discard
+fun:nanosleep=discard
fun:open=discard
+fun:pipe=discard
+fun:posix_fadvise=discard
+fun:posix_memalign=discard
+fun:prctl=discard
fun:printf=discard
fun:pthread_sigmask=discard
fun:putc=discard
@@ -93,18 +121,29 @@
fun:random=discard
fun:remove=discard
fun:sched_getcpu=discard
+fun:sched_get_priority_max=discard
fun:sched_setaffinity=discard
fun:sched_yield=discard
+fun:sem_destroy=discard
fun:sem_init=discard
fun:sem_post=discard
fun:sem_wait=discard
+fun:send=discard
+fun:sendmsg=discard
+fun:sendto=discard
+fun:setsockopt=discard
+fun:shutdown=discard
fun:sleep=discard
+fun:socket=discard
+fun:socketpair=discard
fun:strerror=discard
+fun:strspn=discard
+fun:strcspn=discard
+fun:symlink=discard
fun:syscall=discard
+fun:unlink=discard
fun:uselocale=discard
fun:write=discard
-fun:dlclose=discard
-fun:__assert_fail=discard
# Functions that produce output does not depend on the input (need to zero the
# shadow manually).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2291.1.patch
Type: text/x-patch
Size: 2508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131129/25f3b4de/attachment.bin>
More information about the llvm-commits
mailing list