11 Commits

Author SHA1 Message Date
Evan Downing 6129f37c1b Add tests for java challenges (#285) 2025-03-27 14:53:10 -04:00
Evan Downing 5d60b606b7 Add retrieving types in codequery (#260)
* Add retrieving types in codequery

* Add fuzzy search option (#271)
2025-03-27 08:23:01 -04:00
Evan Downing c47f27debe Speedup graphdb (#193)
* Add bulk loading and update schema

* Remove unnecessary config options for speedup

* Uncomment unit test. Update integration test.

* Fix permission issue with removing temp folder

* Update file paths

* Changing graphdb directory

* Update integration config
2025-03-25 09:38:47 -04:00
Evan Downing 4a6c4baf07 Retrieve types using codequery (#201)
* Add retrieving types from treesitter

* Update preprocessor types. Update fuzz-tooling directory layout
2025-03-13 09:31:12 -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 0bfdfa2d7d Add get_function_body unit test (#96)
* Add get_function_body unit test

* Test passes

* Add janusgraph service

* Update tests with healthcheck
2025-03-04 08:09:25 -05:00
Henrik Brodin 65dd397115 Store task-id in task-meta file (#123)
Store task-id in task-meta file
2025-03-04 13:00:13 +01:00
Riccardo Schirone 2d852a0881 program-model: add tree-sitter parsing for fallbacks (#90) 2025-02-24 09:58:21 +01:00
Riccardo Schirone 9885795582 program-model: add empty test to make pytest happy 2025-02-05 10:23:56 +01:00
2over12 c26a3e223d Add program model demo (#17)
* add program model uv

* add tool to common

* remove oss fuzz tool

* add docker

* implement build base image

* fix ret check

* add builder for subimage

* remove old tool

* hack to avoid dupped kzip files

* fixes... need to work out LD hack

* fix find

* justfile for building kythe

* update dockerfile

* add upload tool

* update protobuf

* move into compose

* fix merge invocation

* fix up invoc

* bump kythe

* reformat

* format

* format

* remove unused

* add lint and change version

* fixes

* exclude

* fix formatting:

* dev deps

* add dep

* exclude gen

* fix
2025-01-26 13:09:37 -05:00