crytic / crytic/crytic-compile

`run_custom_build` does not create source/compilation units

Open
#423 0 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
197
Forks
97
PR merge metrics
No merged PRs in 30d

Description

There doesn't seem to be a way to use custom builds with slither because none of the artifacts from the build command are used to create source/compilation units
https://github.com/crytic/crytic-compile/blob/10104f33f593ab82ba5780a5fe8dd26385acd1c1/crytic_compile/crytic_compile.py#L562

See https://github.com/crytic/slither/discussions/1866

Contributor guide

Open the contributing guide

Research direction

Start at crytic_compile/crytic_compile.py around line 562 and trace the run_custom_build path to understand how its build artifacts are handled. Use the linked Slither discussion as the reproduction context; done means artifacts from a custom build create the source and compilation units needed by Slither.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.