Irene Weber

14 papers B 2C 1Journal 6Unranked 4
YearRankTypeTitle / Venue / Authors
2025 J jnl
CoRR
Irene Weber
2024 conf
AKWI Jahrestagung
Irene Weber
2024 J jnl
CoRR
Irene Weber
2024 J jnl
CoRR
Irene Weber
2024 J jnl
CoRR
Irene Weber
2023 conf
HICSS
Irene Weber
2021 conf
CUI
Irene Weber
2004
Irene Weber
2002 B conf
ILP
Irene Weber
2000 J jnl
J. Intell. Inf. Syst.
Irene Weber
1999 C conf
ISMIS
Irene Weber
1997 B conf
ILP
Irene Weber
1996 J jnl
AI Commun.
Nada Lavrac, Irene Weber, Darko Zupanic, Dimitar Kazakov, Olga Stepánková, Saso Dzeroski
1995 conf
ECML
Irene Weber, Birgit Tausend, Irene Stahl
redb/extractors/decompiler/bninja/run.py
← Index redb/extractors/decompiler/bninja/run.py python
import argparse
import json

from decompiler import BinaryNinjaDecompiler
from utils.json_encoder import BinaryNinjaEncoder


def run_from_command_line():
    parser = argparse.ArgumentParser(description="Binary Ninja Decompiler")
    parser.add_argument("filepath", help="Path to the binary file to analyze")
    parser.add_argument(
        "--output", "-o", help="Output JSON file path (default: stdout)"
    )
    parser.add_argument(
        "--timeout",
        "-t",
        type=int,
        default=1200,
        help="Analysis timeout in seconds (default: 1200)",
    )
    args = parser.parse_args()

    with BinaryNinjaDecompiler(args.filepath, args.timeout) as decompiler:
        success = decompiler.extract()

        if not success:
            decompiler.log.error("Analysis failed")
            return 1

        # Output results
        if args.output:
            with open(args.output, "w") as f:
                json.dump(decompiler.analysis_results, f, cls=BinaryNinjaEncoder)
            decompiler.log.info(f"Results written to {args.output}")
        else:
            print(json.dumps(decompiler.analysis_results, cls=BinaryNinjaEncoder))

    return 0


if __name__ == "__main__":
    run_from_command_line()