solidity icon indicating copy to clipboard operation
solidity copied to clipboard

Yul Debugger

Open Marenz opened this issue 3 years ago • 3 comments

This PR extends yulRunner with an interactive debugger interface.

This is not yet cleaned up, but the code is in a working state and was used for debugging

Marenz avatar Jul 19 '22 17:07 Marenz

Is the yul mode for remix working for this case?

chriseth avatar Jul 25 '22 17:07 chriseth

Is the yul mode for remix working for this case?

I don't about any yul mode for remix and couldn't find any info after some short googling?

Marenz avatar Jul 28 '22 12:07 Marenz

There's a dropdown that lets you select Yul in the compiler tab.

cameel avatar Aug 07 '22 11:08 cameel

While I appreciate all the comments and feedback, I also feel that all of you forget that this is not part of the compiler and I think it shouldn't be held to the same standard, simply because it's not worth the time and effort here.

It's just a tool for us, after all. I wrote this because I needed it and it provides value, but i am not sure we should invest so much time to make this "perfect"

Marenz avatar Aug 26 '22 22:08 Marenz

Pinging @bshastry about this one, just to confirm that the interpreter changes won't interfere with fuzzing (since most of it is conditional behind the flag, it shouldn't affect much, but still).

ekpyron avatar Sep 07 '22 11:09 ekpyron

Some more minor comments, but I'd generally be fine with this, considering it an internal testing tool to-be-extended-as-needed. But before merging, I'd like to have another confirmation about the previous return values of the CALL instructions from @bshastry (see the respective review comment).

I didn't quite follow. What do you mean by the previous return values of Call instructions

bshastry avatar Sep 14 '22 09:09 bshastry

I didn't quite follow. What do you mean by the previous return values of Call instructions

Well, the old code would return gas() & 1 so it would randomly fail or succeed. We assumed it is deliberate but didn't know the exact motivation for it.

Marenz avatar Sep 14 '22 09:09 Marenz

This pull request is stale because it has been open for 14 days with no activity. It will be closed in 7 days unless the stale label is removed.

github-actions[bot] avatar Oct 25 '22 12:10 github-actions[bot]