M. L. Chaudhry

11 papers Journal 10Unranked 1
YearRankTypeTitle / Venue / Authors
2017 J jnl
INFORMS J. Comput.
Abhijit Datta Banik, M. L. Chaudhry
2017 conf
SocProS (1)
Abhijit Datta Banik, Souvik Ghosh, M. L. Chaudhry
2016 J jnl
RAIRO Oper. Res.
M. L. Chaudhry, Abhijit Datta Banik, António Pacheco, Souvik Ghosh
2016 J jnl
Perform. Evaluation
U. C. Gupta, Gagandeep Singh, M. L. Chaudhry
2012 J jnl
INFOR Inf. Syst. Oper. Res.
M. L. Chaudhry, Jing Gai
2012 J jnl
Perform. Evaluation
Gagandeep Singh, M. L. Chaudhry, U. C. Gupta
2007 J jnl
Perform. Evaluation
U. C. Gupta, Sujit Kumar Samanta, R. K. Sharma, M. L. Chaudhry
1996 J jnl
Oper. Res. Lett.
M. L. Chaudhry, U. C. Gupta, James G. C. Templeton
1993 J jnl
ZOR Methods Model. Oper. Res.
M. L. Chaudhry, Manju Agarwal, James G. C. Templeton
1982 J jnl
Comput. Oper. Res.
G. D. Easton, M. L. Chaudhry
1966 J jnl
Oper. Res.
M. L. Chaudhry
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)