Skip to content

Strange CFG Benchmark Results for SEVM #155

Description

@cdump

Hey, I just added Control Flow Graph (CFG) support to my evmole tool and included benchmarks for several open-source tools I found:
CFG Benchmark Results

While SEVM performs very well for selectors/mutability (and for decompilation, though it's not benchmarked), it performs poorly in the CFG benchmark. I suspect I might be using it incorrectly.

Could you take a look at this part of the implementation? https://github.com/cdump/evmole/blob/master/benchmark/providers/sevm/main.mjs#L44

The expected output format is a list of edges between basic blocks, where each block is identified by the bytecode offset of its first opcode. Let me know if I'm misusing SEVM or if there's an alternative way to get accurate CFG results.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions