This is an archive of the discontinued LLVM Phabricator instance.

[dfsan] Add Origin ABI Wrappers
ClosedPublic

Authored by stephan.yichao.zhao on Mar 19 2021, 10:29 AM.

Details

Summary

Supported ctime_r, fgets, getcwd, get_current_dir_name, gethostname,
getrlimit, getrusage, strcpy, time, inet_pton, localtime_r,
getpwuid_r, epoll_wait, poll, select, sched_getaffinity

Most of them work as calling their non-origin verision directly.

This is a part of https://reviews.llvm.org/D95835.

Diff Detail

Event Timeline

stephan.yichao.zhao requested review of this revision.Mar 19 2021, 10:29 AM
stephan.yichao.zhao created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptMar 19 2021, 10:29 AM
Herald added a subscriber: Restricted Project. · View Herald Transcript
morehouse accepted this revision.Mar 24 2021, 9:53 AM
morehouse added inline comments.
compiler-rt/lib/dfsan/dfsan_custom.cpp
970–971

Please fix format.

This revision is now accepted and ready to land.Mar 24 2021, 9:53 AM

rebased after D99109
fixed format

updated after rebase

This revision was landed with ongoing or failed builds.Mar 24 2021, 11:22 AM
This revision was automatically updated to reflect the committed changes.