Skip to content

Index projects on infra #13249

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

Closed
wants to merge 38 commits into from
Closed

Index projects on infra #13249

wants to merge 38 commits into from

Conversation

jonathanmetzman
Copy link
Contributor

No description provided.

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

3 similar comments
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py unrar --fuzzing-engines libfuzzer --sanitizers address

1 similar comment
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py unrar --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py jq --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py jq unrar --fuzzing-engines libfuzzer --sanitizers address

1 similar comment
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py jq unrar --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py yara expat --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py yara expat --fuzzing-engines libfuzzer --sanitizers address

1 similar comment
@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py yara expat --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py yara harfbuzz glslang --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py openssl --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py openssl --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py systemd --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

Oliver, do you get this when trying to build systemd locally?

INFO:root:Found 95 linker JSON files.
INFO:root:trying to find 90b5a3e665376882
Traceback (most recent call last):
  File "/opt/indexer/index_build.py", line 613, in <module>
    main()
  File "/opt/indexer/index_build.py", line 607, in main
    index()
  File "/opt/indexer/index_build.py", line 566, in index
    targets = enumerate_build_targets(root)
  File "/opt/indexer/index_build.py", line 249, in enumerate_build_targets
    binary_path = find_fuzzer_binary(OUT, build_id)
  File "/opt/indexer/index_build.py", line 224, in find_fuzzer_binary
    assert False, "failed to find fuzzer binary"
AssertionError: failed to find fuzzer binary
ERROR:__main__:Indexer failed.

@oliverchang
Copy link
Collaborator

Oliver, do you get this when trying to build systemd locally?

INFO:root:Found 95 linker JSON files.
INFO:root:trying to find 90b5a3e665376882
Traceback (most recent call last):
  File "/opt/indexer/index_build.py", line 613, in <module>
    main()
  File "/opt/indexer/index_build.py", line 607, in main
    index()
  File "/opt/indexer/index_build.py", line 566, in index
    targets = enumerate_build_targets(root)
  File "/opt/indexer/index_build.py", line 249, in enumerate_build_targets
    binary_path = find_fuzzer_binary(OUT, build_id)
  File "/opt/indexer/index_build.py", line 224, in find_fuzzer_binary
    assert False, "failed to find fuzzer binary"
AssertionError: failed to find fuzzer binary
ERROR:__main__:Indexer failed.

My bad -- I had a fix that I didn't push. pushed now.

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py systemd --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py openssl libfido2 nss --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py openssl systemd --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py boringssl --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py nss --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@oliverchang
Copy link
Collaborator

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@jonathanmetzman jonathanmetzman force-pushed the idnexbuilds branch 2 times, most recently from 32f1cf7 to 53f2b9f Compare May 2, 2025 05:29
Change path so our wrapper is loaded when "clang" is called.
To deal with build systems that inspect the directory of the
clang binary, we symlink to every thing (except clang and clang++)
from the indexer directory.
Also, handle people hardcoding -fsanitize=fuzzer and using
libFuzzingEngine.a for linking.
@jonathanmetzman
Copy link
Contributor Author

/gcbrun trial_build.py c c++ --fuzzing-engines libfuzzer --sanitizers address

@oliverchang oliverchang closed this May 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants