FuzzingLabs / thoth

Cairo/Starknet security toolkit (bytecode analyzer, disassembler, decompiler, symbolic execution, SBMC)
https://fuzzinglabs.com/
GNU Affero General Public License v3.0
245 stars 21 forks source link

decompile and disassemble failed #126

Closed mstrong-tech closed 1 year ago

mstrong-tech commented 1 year ago

Hi guys! I'm trying to decompile and disassemble a class code but both commands -b and -d failed. class: 0x034bf120526ae8e9bf4038c4834b41a6f83889e01d15de4916bc79a9491e9e9d json file: 0x034bf120526ae8e9bf4038c4834b41a6f83889e01d15de4916bc79a9491e9e9d.json

Rog3rSm1th commented 1 year ago

This issue is now fixed. It came from the fact that entrypoint offsets were stored in base 16 for JSON artifacts generated with a compiler < 0.11.0 and in base 10 from the compiler version 0.11.0.