Consensys / vscode-solidity-auditor

Solidity language support and visual security auditor for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.solidity-visual-auditor
GNU General Public License v3.0
569 stars 60 forks source link

how to debug bytecode #88

Closed eladalkabets2603 closed 2 years ago

eladalkabets2603 commented 2 years ago

i have recenlty downloaded the extension to vscode, and used it to get bytecode of contracts. i was compiling 2 different contracts and got the same bytecode for both of then (excluding the metadata). can you point me to the line in the codewhere you augment the bytecode while hoverig over contract address?, and the actuall place the function is called (new to js so might have missed it)? thanks

tintinweb commented 2 years ago

hey @eladalkabets2603,

should be around this function: https://github.com/ConsenSys/vscode-ethover/blob/master/src/features/evm.js#L251

note that the actual code resides with the vscode-ethover extension which is bundled to this one.

cheers