A CLI to navigate through Hashlink bytecode files.
info
General information about the bytecodehelp
Help messageentrypoint
Get the bytecode entrypointi|int <idx>
Get the int at indexf|float <idx>
Get the float at indexs|string <idx>
Get the string at indexsstr <str>
Find a stringd|debugfile <idx>
Get the debug file name at indexsfile <str>
Find the debug file namedt|type <idx>
Get the type at indexg|global <idx>
Get global at indexc|constant <idx>
Get constant at indexn|native <idx>
Get native at indexfnh <findex>
Get header of function (findex)fn <findex>
Get function (findex)sfn <str>
Get function namedinfile <idx|str>
Find functions in filefileof <findex>
Get the file where findex is definedrefto <any@idx>
Find references to a given bytecode elementsaveto <filename>
Serialize the bytecode to a filecallgraph <findex> <depth>
Create a dot call graph from a function and a max depthIn most of the commands that accept an index, you can pass a range too : a..b
, ..b
, a..
, a..=b
...
;