Git Product home page Git Product logo

Comments (6)

gjasny avatar gjasny commented on July 28, 2024

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.

gjasny avatar gjasny commented on July 28, 2024

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.

fniksic avatar fniksic commented on July 28, 2024

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.

gchatelet avatar gchatelet commented on July 28, 2024

I'm running in the same error trying to use FuzzTest with Bazel. Any status updates?
As-is, the tutorial is broken.

from fuzztest.

lszekeres avatar lszekeres commented on July 28, 2024

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.

Ahajha avatar Ahajha commented on July 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.