Comments (6)
It's also not part of the hdrs
of re2
: https://github.com/google/re2/blob/2022-06-01/BUILD#L30
Why doesn't it trigger a sandbox violation?
from fuzztest.
The Bazel layering_check
finds it, too:
bazel build --features=layering_check //...
...
external/com_google_fuzztest/fuzztest/internal/regexp.cc:32:10: error: use of private header from outside its module: 're2/prog.h' [-Wprivate-header]
#include "re2/prog.h"
^
external/com_google_fuzztest/fuzztest/internal/regexp.cc:33:10: error: use of private header from outside its module: 're2/regexp.h' [-Wprivate-header]
#include "re2/regexp.h"
from fuzztest.
Hey Gregor, thanks for pointing this out. We're working on a solution with the RE2 team, and will resolve this as soon as they release a public API with similar functionality.
from fuzztest.
I'm running in the same error trying to use FuzzTest with Bazel. Any status updates?
As-is, the tutorial is broken.
from fuzztest.
Thanks! Previously we were hoping we could make this API public in RE2, but we dropped that idea.
As an alternative hack, could we add a patch to the re2 http_archive, that moves re2/prog.h
to hdrs
?
from fuzztest.
I'm working on a Conan package for fuzztest and this came up. Without a proper fix, our best bet is to include the extra headers in the re2 package, which is less than ideal.
from fuzztest.
Related Issues (20)
- libfuzzer compatibility mode spams `Unexpected file format` without making any progress (СMake)
- Target based fuzztest_setup_fuzzing_flags
- Cannot test a pointer type HOT 1
- How can I generate a profraw file based on the output of my custom fuzzer? HOT 6
- Fuzz mode as documented in https://github.com/google/fuzztest/blob/main/doc/quickstart-cmake.md doesn't work HOT 4
- [CMake] sanitizer is forced to "address sanitizer"
- Compatibility mode broken with oss-fuzz
- Integrating FuzzTest into GoogleTests
- 'protobuf/text_format.h' file not found when building "Quickstart with CMake" HOT 2
- Fuzzer not crashing with basic string comparison
- Rejecting unwanted inputs HOT 1
- Saving corpus in more readable format
- MBErr: Builder group name "chromium.fuzz" not found in "/opt/chromium/src/tools/mb/mb_config.pyl" HOT 2
- cc_fuzztest_grammar_library bazel macro cannot be used outside of com_google_fuzztest repo HOT 1
- Backslashes are wrongly escaped in grammar_codegen
- Byte Array Mutator failed on empty input HOT 1
- error: static assertion failed due to requirement 'always_false<unsigned char *>': => Type not supported yet HOT 2
- How can I build and run the vp8_encoder_fuzz_test
- Add bzlmod support for Bazel HOT 5
- How to add a new fuzzer for libvpx HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuzztest.