M. Ranganathan

12 papers A 2Journal 2Unranked 8
YearRankTypeTitle / Venue / Authors
2006 conf
COMSWARE
M. Ranganathan, Jean Deruelle, Doug Montgomery
2003 conf
TestCom
M. Ranganathan, Olivier Deruelle, Doug Montgomery
2001 conf
HICSS
Michelle Potts Steves, M. Ranganathan, Emile L. Morse
1999 conf
ASA/MA
M. Ranganathan, Virginie Schaal, Virginie Galtier, Doug Montgomery
1999 J jnl
ACM Comput. Surv.
M. Ranganathan, Laurent Andrey, Virginie Schaal, Jean Philippe Favreau
1998 conf
SPDT
M. Ranganathan, Anurag Acharya, Laurent Andrey, Virginie Schaal
1998 A conf
ICDCS
M. Ranganathan, Anurag Acharya, Joel H. Saltz
1998 conf
Tcl/Tk Conference
M. Ranganathan, Laurent Andrey, Virginie Schaal, Anurag Acharya
1997 J jnl
Concurr. Pract. Exp.
Anurag Acharya, M. Ranganathan, Joel H. Saltz
1996 A conf
International Conference on Supercomputing
M. Ranganathan, Anurag Acharya, Guy Edjlali, Alan Sussman, Joel H. Saltz
1996 conf
Mobile Object Systems
Anurag Acharya, M. Ranganathan, Joel H. Saltz
1994 conf
SIGMOD Conference
Christos Faloutsos, M. Ranganathan, Yannis Manolopoulos
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)