James Bailie

12 papers Journal 11Unranked 1
YearRankTypeTitle / Venue / Authors
2026 J jnl
CoRR
Julian Rodemann, Unai Fischer Abaigar, James Bailie, Krikamol Muandet
2026 J jnl
CoRR
Joshua J. Bon, James Bailie, Judith Rousseau, Christian P. Robert
2025 J jnl
CoRR
James Bailie, Ruobin Gong, Xiao-Li Meng
2025 J jnl
CoRR
James Bailie, Ruobin Gong, Xiao-Li Meng
2025 J jnl
CoRR
Julian Rodemann, James Bailie
2025 J jnl
CoRR
James Bailie, Rabanus Derr
2025 J jnl
CoRR
James Bailie, Ruobin Gong
2025 J jnl
CoRR
Matthew J. Schneider, James Bailie, Dawn Iacobucci
2024 J jnl
Int. J. Approx. Reason.
James Bailie, Ruobin Gong
2024 J jnl
CoRR
Mohammad Kakooei, James Bailie, Albin Söderberg, Albin Becevic, Adel Daoud
2024 J jnl
CoRR
Jörg Drechsler, James Bailie
2023 conf
ISIPTA
James Bailie, Ruobin Gong
redb/extractors/decompiler/bninja/utils/json_encoder.py
← Index redb/extractors/decompiler/bninja/utils/json_encoder.py python
import json


class BinaryNinjaEncoder(json.JSONEncoder):
    """Custom JSON encoder for BinaryNinja types"""

    def default(self, obj):
        # Handle Binary Ninja specific types

        # for values, we try to obtain the json for the value property
        if hasattr(obj, "value") and hasattr(obj, "confidence"):
            return obj.value

        # for strings, we simply compute the native string
        if hasattr(obj, "__str__"):
            return str(obj)

        # for all the others values we use the normal json encoder
        return json.JSONEncoder.default(self, obj)