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

Blacklist regexp errors silently lead to blacklist not working #17

Closed
GoogleCodeExporter opened this issue Apr 8, 2015 · 1 comment
Closed

Comments

@GoogleCodeExporter
Copy link

The blacklist in the AddressSanitizer pass constructs one big regular 
expression from the blacklist entries. If one of these list entries contains 
something illegal, then the whole regex silently fails and nothing is 
blacklisted. Also no error is emitted for this.

To test this, create a blacklist using:

fun:main
fun:foo??bar
fun:bar

The second line here is invalid (at least it seems to be in the C++ regular 
expression library that is used, as it stopped my blacklist from working. Using 
this blacklist won't have any effect, e.g. main will be instrumented.

Tested using LLVM/Clang/ASan SVN trunk revision 146212 on Linux.

Original issue reported on code.google.com by decoder...@googlemail.com on 13 Dec 2011 at 12:01

@GoogleCodeExporter
Copy link
Author

r146503.

Original comment by konstant...@gmail.com on 13 Dec 2011 at 7:38

  • Changed state: Fixed

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