Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moar string interceptors: strstr, strcasestr, strcspn, strpbrk #346

Closed
ramosian-glider opened this issue Sep 1, 2015 · 5 comments
Closed

Comments

@ramosian-glider
Copy link
Member

Originally reported on Google Code with ID 346

We seem to be missing interceptors for a few frequent libc string  functions. They are
not easy to handle even in asan-ified glibc, so we need interceptors anyway. 

Anyone? 

Reported by konstantin.s.serebryany on 2014-09-24 01:25:20

@ramosian-glider
Copy link
Member Author

We can take this if you don't mind waiting couple of weeks.

Reported by tetra2005 on 2014-09-24 14:32:22

@ramosian-glider
Copy link
Member Author

You are more than welcome. 
Please add the interceptors to sanitizer_common, 
add run-time guards (two different flags, I think: replace_strstr and replace_strcspn),
and add tests similar to test/sanitizer_common/TestCases/pthread_mutexattr_get.cc

When you actually start working on it, claim this bug so that others don't work on
it in parallel.  

Reported by konstantin.s.serebryany on 2014-09-24 14:49:42

  • Status changed: New

@ramosian-glider
Copy link
Member Author

Hello,
I am starting the task implementation. 

Reported by mguseva2 on 2014-10-03 08:10:16

@ramosian-glider
Copy link
Member Author

Adding Project:AddressSanitizer as part of GitHub migration.

Reported by ramosian.glider on 2015-07-30 09:06:34

  • Labels added: ProjectAddressSanitizer

@ramosian-glider
Copy link
Member Author

Fixed in Clang r238406.
Thanks, Maria!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant