Commit Graph

13 Commits

Author SHA1 Message Date
Evan Downing b1a558da0f Update location and name of cscope (#246)
* Update location and name of cscope

* Update README and add quick test script

* Add architecture check and disable full test for now

* Remove test script. Enable libpng integration test

---------

Co-authored-by: Michael D Brown <michael.brown@trailofbits.com>
2025-08-14 21:44:22 -04:00
Riccardo Schirone 5cfa9bd26e Add support for ARM (#207)
* Fix integration-test run

* use the proper oss-fuzz-aixcc commit to run integration-test
* determine OSS_FUZZ_CONTAINER_ORG at runtime
* use `git diff` in the patcher to create the patch to fix a problem
  with patches affecting non-newline terminated files

* fix parsing

* fix program-model lint

* Modify CRS to work on MacOS/ARM

* Use LibUCL for testing

* use example-libpng

* fix linting

* common: fix tests
2025-07-31 09:55:36 -04:00
Ronald Eytchison e2e5e45cee Build cscope image locally instead of pulling (#148)
* Add cscope as submodule

* Use cscope submodule instead of docker image

* Pass token to checkout private submodule in CI
2025-07-10 15:49:09 -04:00
Riccardo Schirone cdb67b0b60 Changes to allow non aixcc deployment (#147) 2025-07-09 12:22:54 +02:00
Riccardo Schirone 20b9fd61e1 Use 'git apply' to apply the diff, instead of 'patch' (#893) 2025-06-19 17:57:12 +02:00
Riccardo Schirone 6127ca8786 Wait for DinD to be ready (#490)
* deployment/charts: start dind first

* Wait for DinD to be up and running
2025-04-30 09:54:26 +02:00
Evan Downing 558c0aeb97 Update Ubuntu version of program-model (#472)
* Update Ubuntu version to support newer version of CodeQuery

* program-model: install custom cscope and updated codequery

* patcher: fix vuln_id -> submission_index

* patcher: fix docker install

---------

Co-authored-by: Riccardo Schirone <riccardo.schirone@trailofbits.com>
2025-04-29 15:20:14 -04:00
Riccardo Schirone b44c21dd6e program-model: fix task-id property and improve tests (#174)
* program-model: fix task-id property and improve tests

* Skipping libpng integration test until kythe is ready

---------

Co-authored-by: Evan Downing <2077950+evandowning@users.noreply.github.com>
2025-03-12 15:20:39 -04:00
Riccardo Schirone e0b898a6b4 program-model: introduce codequery (#178)
* program-model/tree-sitter: refactor classes

* program-model/tree-sitter: change how paths are considered

This allows to parse also code in oss-fuzz (e.g. injected fuzz targets
not in upstream project)

* common: change name format for challenge commit

* program-model/codequery: make it persistent and nice

* program-model: disable janus & co for now

* patcher: make use of codequery instead of just tree-sitter

* program-model: add integration tests for codequery

* program-model/codequery: add support for different languages

* patcher: install codequery in patcher's container

* ci: fix codequery install

* program-model: ensure cqdb storage in /crs_scratch

* program-model: ensure the cqdb storage is available only at the end
2025-03-10 14:11:07 +01:00
Evan Downing 2e5191b513 Build kythe into its own container (#104)
* Remove environment variables

* Add kythe release from base image

* Copy file from remote container

* Change kythe to remote

* x

* Fix dockerfile
2025-03-04 07:45:23 -05:00
Evan Downing f6067005e6 Download Kythe automatically (#84)
* Add passing gh token

* Change docker to automatically download kythe release

* Update workflow
2025-02-21 13:33:38 -05:00
Evan Downing 7b15a06214 change root of docker (#59) 2025-02-18 17:06:39 -05:00
2over12 ea2fd093d5 Program model integrate (#13)
* Add documentation

* Add janusgraph custom configuration. Simply graph creation.

* Add properties to edges. Index on uri property.

* reformat

* Create libpng graph in a more reasonable amount of time.

* Update README.md

* Wrap indexing into function

* updating...

* update proto

* fix command

* Update settings for serve and processing indexing

* Add dockerfile to docker container

* Add trigger script

* Fix error with loading graphml file

* reformat

* Remove resource constraints for program model

* Change permissions of temp dir

* Update readme

* Update dockerignore

---------

Co-authored-by: Evan Downing <2077950+evandowning@users.noreply.github.com>
2025-02-18 11:59:16 -05:00