mythril.interfaces package
Submodules
mythril.interfaces.cli module
mythril.py: Bug hunting on the Ethereum blockchain
http://www.github.com/ConsenSys/mythril
- mythril.interfaces.cli.add_analysis_args(options)[source]
Adds arguments for analysis
- Parameters:
options – Analysis Options
- mythril.interfaces.cli.add_fwrg_arguments(args: Namespace)[source]
collect the values for the global parameters defined in fdg.global_config.py.
- mythril.interfaces.cli.contract_hash_to_address(args: Namespace)[source]
prints the hash from function signature :param args: :return:
- mythril.interfaces.cli.create_analyzer_parser(analyzer_parser: ArgumentParser)[source]
Modify parser to handle analyze command :param analyzer_parser: :return:
- mythril.interfaces.cli.create_concolic_parser(parser: ArgumentParser) ArgumentParser [source]
Get parser which handles arguments for concolic branch flipping
- mythril.interfaces.cli.create_disassemble_parser(parser: ArgumentParser)[source]
Modify parser to handle disassembly :param parser: :return:
- mythril.interfaces.cli.create_func_to_hash_parser(parser: ArgumentParser)[source]
Modify parser to handle func_to_hash command :param parser: :return:
- mythril.interfaces.cli.create_hash_to_addr_parser(hash_parser: ArgumentParser)[source]
Modify parser to handle hash_to_addr command :param hash_parser: :return:
- mythril.interfaces.cli.create_read_storage_parser(read_storage_parser: ArgumentParser)[source]
Modify parser to handle storage slots :param read_storage_parser: :return:
- mythril.interfaces.cli.create_safe_functions_parser(parser: ArgumentParser)[source]
The duplication exists between safe-functions and analyze as some of them have different default values. :param parser: Parser
- mythril.interfaces.cli.execute_command(disassembler: MythrilDisassembler, address: str, parser: ArgumentParser, args: Namespace)[source]
Execute command :param disassembler: :param address: :param parser: :param args: :return:
- mythril.interfaces.cli.exit_with_error(format_, message)[source]
Exits with error :param format_: The format of the message :param message: message
- mythril.interfaces.cli.get_creation_input_parser() ArgumentParser [source]
Returns Parser which handles input :return: Parser which handles input
- mythril.interfaces.cli.get_output_parser() ArgumentParser [source]
Get parser which handles output :return: Parser which handles output
- mythril.interfaces.cli.get_rpc_parser() ArgumentParser [source]
Get parser which handles RPC flags :return: Parser which handles rpc inputs
- mythril.interfaces.cli.get_runtime_input_parser() ArgumentParser [source]
Returns Parser which handles input :return: Parser which handles input
- mythril.interfaces.cli.get_safe_functions_parser() ArgumentParser [source]
Returns Parser which handles checking for safe functions :return: Parser which handles checking for safe functions
- mythril.interfaces.cli.get_utilities_parser() ArgumentParser [source]
Get parser which handles utilities flags :return: Parser which handles utility flags
- mythril.interfaces.cli.load_code(disassembler: MythrilDisassembler, args: Namespace)[source]
Loads code into disassembly and returns address :param disassembler: :param args: :return: Address
- mythril.interfaces.cli.parse_args_and_execute(parser: ArgumentParser, args: Namespace) None [source]
Parses the arguments :param parser: The parser :param args: The args
- mythril.interfaces.cli.print_function_report(myth_disassembler: MythrilDisassembler, report: Report)[source]
Prints the function report :param report: Mythril’s report :return:
mythril.interfaces.epic module
Don’t ask.
- class mythril.interfaces.epic.LolCat(mode=256, output=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)[source]
Bases:
object
Cats lel.