JuliaDebug / JuliaDebug/Cthulhu.jl

Program Slice View

Open
#550 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Julia
Stars
709
Forks
46
Avg merge
1d 13h
Merged PRs (30d)
2

Description

Often what I want when reading IR in Cthulhu is a program slice view.
Where I input/select a SSA statement,
and Cthulhu only shows me statemements that can effect that one. (or perhaps highlights them)
Which can in many cases be simply done by just tracing back all SSA statemements that appear on its right-hand-side and all of those etc etc).

This would be useful for hunting down type instabilities since often they are poisoned by one failure early that is just propagates onwards

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files or tests. Start by finding Cthulhu's IR view and how it selects or highlights SSA statements, then trace the right-hand-side dependencies described in the request. Done would mean selecting an SSA statement and showing or highlighting the statements that can affect it, with the behavior confirmed on a representative type-instability case.

Written by the indexing model from the issue text.

Assessment

Tech stack
julia
Domain
compilers, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.