INNER CODE UNIT · Python
main
2akouwu/reverify · reverify/cli.py:560
def main() -> None:
parser = argparse.ArgumentParser(
prog="reverify",
description="Reverify - verified reverse engineering, protocol dissection, and emulation toolkit",
)
subparsers = parser.add_subparsers(dest="command", required=True)
# auto
p_auto = subparsers.add_parser("auto", help="Automatically triage and inspect target binary")
p_auto.add_argument("target", help="File path or hex stream")
p_auto.add_argument("--json", action="store_true", help="Output full JSON triage report")
p_auto.set_defaults(func=cmd_auto)
# parse-pe
p_pe = subparsers.add_parser("parse-pe", help="Parse PE32/PE32+ binary structure")
p_pe.add_argument("file", help="Path to EXE/DLL/SYS file")
p_pe.add_argument("--json", action="store_true", help="Output full JSON structure")
p_pe.set_defaults(func=cmd_parse_pe)