Xiao-yong Zhou

18 papers A* 12A 2C 1Journal 1Unranked 2
YearRankTypeTitle / Venue / Authors
2017 A conf
DSN
Yeonjoon Lee, Tongxin Li, Nan Zhang, Soteris Demetriou, Mingming Zha, Xiaofeng Wang, Kai Chen, Xiao-yong Zhou, Xinhui Han, Michael Grace
2017 J jnl
CoRR
Soteris Demetriou, Nan Zhang, Yeonjoon Lee, Xiaofeng Wang, Carl A. Gunter, Xiao-yong Zhou, Michael Grace
2017 conf
WISEC
Soteris Demetriou, Nan Zhang, Yeonjoon Lee, Xiaofeng Wang, Carl A. Gunter, Xiao-yong Zhou, Michael Grace
2015 A* conf
CCS
Yousra Aafer, Nan Zhang, Zhongwen Zhang, Xiao Zhang, Kai Chen, Xiaofeng Wang, Xiao-yong Zhou, Wenliang Du, Michael Grace
2015 A* conf
IEEE Symposium on Security and Privacy
Nan Zhang, Kan Yuan, Muhammad Naveed, Xiao-yong Zhou, Xiaofeng Wang
2015 A* conf
NDSS
Soteris Demetriou, Xiao-yong Zhou, Muhammad Naveed, Yeonjoon Lee, Kan Yuan, Xiaofeng Wang, Carl A. Gunter
2014 A* conf
NDSS
Muhammad Naveed, Xiao-yong Zhou, Soteris Demetriou, Xiaofeng Wang, Carl A. Gunter
2014 A* conf
CCS
Tongxin Li, Xiao-yong Zhou, Luyi Xing, Yeonjoon Lee, Muhammad Naveed, Xiaofeng Wang, Xinhui Han
2014 A* conf
NDSS
Chia-Chi Lin, Hongyang Li, Xiao-yong Zhou, Xiaofeng Wang
2014 A* conf
IEEE Symposium on Security and Privacy
Xiao-yong Zhou, Yeonjoon Lee, Nan Zhang, Muhammad Naveed, Xiaofeng Wang
2013 A* conf
CCS
Xiao-yong Zhou, Soteris Demetriou, Dongjing He, Muhammad Naveed, Xiaorui Pan, Xiaofeng Wang, Carl A. Gunter, Klara Nahrstedt
2011 A* conf
CCS
Kehuan Zhang, Xiao-yong Zhou, Yangyi Chen, Xiaofeng Wang, Yaoping Ruan
2011 A* conf
NDSS
Roman Schlegel, Kehuan Zhang, Xiao-yong Zhou, Mehool Intwala, Apu Kapadia, Xiaofeng Wang
2011 A conf
ESORICS
Xiao-yong Zhou, Bo Peng, Yong Fuga Li, Yangyi Chen, Haixu Tang, Xiaofeng Wang
2009 A* conf
USENIX Security Symposium
Clemens Kolbitsch, Paolo Milani Comparetti, Christopher Kruegel, Engin Kirda, Xiao-yong Zhou, Xiaofeng Wang
2009 A* conf
CCS
Rui Wang, Yong Fuga Li, Xiaofeng Wang, Haixu Tang, Xiao-yong Zhou
2007 C conf
AICCSA
Yue-Xiang Yang, Rui Wang, Yang Liu, Shang-zhen Li, Xiao-yong Zhou
2006 conf
ISDA (2)
Rui Wang, Yang Liu, Yue-Xiang Yang, Xiao-yong Zhou
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()