GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - squaresLab/codealigneval: A repository for reproducing the experiments used to evaluate Codealign (https://github.com/squaresLab/codealign)

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
klee
klee
 
 
neural_decompilation
neural_decompilation
 
 
runtime
runtime
 
 
symexe
symexe
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
environment.yml
environment.yml
 
 

Repository files navigation

This replication package contains the resources needed to replicate the experiments used to evaluate Codealign, a technique for evaluating neural decompilers introduced in Fast, Fine-Grained Equivalence Checking for Neural Decompilers.

For Codealign itself, see the main tool repository.

To install dependencies using conda, run

$ conda env create -f environment.yml
$ conda activate codealigneval

It may a while for conda to solve the dependencies.

Many of the dependencies are present to support the neural decompilation experiments. The other experiments require four packages:

  • z3-solver
  • tree_sitter==0.20.4
  • tqdm
  • numpy

For the remaining steps, you'll need pip. Make sure you're using the pip from the conda environment, not the system pip. To check that you're using the right one, run

$ which pip

If the output isn't <your anaconda install location>/anaconda3/envs/codealigneval/bin/pip, find where that pip is located and run it directly using the absolute path.

If you'd like to generate VarCLR scores in the neural decompilation experiment, then clone a copy of the repository:

$ git clone https://github.com/squaresLab/VarCLR.git
$ cd VarCLR
$ pip install .

If you do not have a rust compiler installed, you will need to modify VarCLR's setup.py to use any version of the Transformers library, not just the one specified. Change "transformers==4.5.1", (line 22) to "transformers", Then you can

$ pip install .
$ cd ..

Then install codealign with

git clone https://github.com/squaresLab/codealign.git
cd codealign
$ pip install .
cd ..

Instructions for running individual experiments are located in directory for each experiment:

  • symexe: for the symbolic execution alignment comparison
  • runtime: for runtime performance evaluation
  • neural_decompilation: for the neural decompilation experiment.

About

A repository for reproducing the experiments used to evaluate Codealign (https://github.com/squaresLab/codealign)

Resources

Readme
Activity
Custom properties

Stars

1 star

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.