Indrajit Bhattacharya

90 papers A* 12A 8B 3Misc 7Journal 26Unranked 28
YearRankTypeTitle / Venue / Authors
2025 conf
ACL (Findings)
Riya Sawhney, Samrat Yadav, Indrajit Bhattacharya, Mausam
2025 conf
FIRE (Working Notes)
Mrinmoy Sadhukhan, Indrajit Bhattacharya, Paramartha Dutta
2025 J jnl
Innov. Syst. Softw. Eng.
Mrinmoy Sadhukhan, Pramita Bhattacherjee, Tamal Mondal, Sudakshina Dasgupta, Indrajit Bhattacharya
2024 conf
CICBA (2)
Sima Ghosh, Sudakshina Dasgupta, Indrajit Bhattacharya
2024 conf
CICBA (2)
Disha Das, Sahiba Naseem, Muktarul Hoque, Sudakshina Dasgupta, Indrajit Bhattacharya
2024 conf
ICPR (6)
Mrinmoy Sadhukhan, Indrajit Bhattacharya, Paramartha Dutta
2024 conf
ACL (1)
Mayur Patidar, Riya Sawhney, Avinash Kumar Singh, Biswajit Chatterjee, Mausam, Indrajit Bhattacharya
2024 Misc conf
ICDCN
Shrikant Manikarao Mahindrakar, Tamal Mondal, Amol Dhakne, Shirshendu Arosh, Indrajit Bhattacharya
2024 ed.
COMAD/CODS
Sriraam Natarajan, Indrajit Bhattacharya, Richa Singh, Arun Kumar, Sayan Ranu, Kalika Bali, Abinaya K.
2024 J jnl
CoRR
Prayushi Faldu, Indrajit Bhattacharya, Mausam
2024 conf
ACL (1)
Prayushi Faldu, Indrajit Bhattacharya, Mausam
2024 J jnl
CoRR
Riya Sawhney, Indrajit Bhattacharya, Mausam
2024 conf
COMAD/CODS
Debayan Mukherjee, Atreya Bandyopadhyay, Soham Datta, Indrajit Bhattacharya
2023 J jnl
CoRR
Pratik Saini, Tapas Nayak, Samiran Pal, Indrajit Bhattacharya
2023 J jnl
CoRR
Prabir Mallick, Tapas Nayak, Indrajit Bhattacharya
2023 J jnl
CoRR
Mayur Patidar, Avinash Kumar Singh, Riya Sawhney, Indrajit Bhattacharya, Mausam
2023 conf
ICCCNT
Manik Mondal, Sudakshina Dasgupta, Indrajit Bhattacharya
2023 conf
ACL (1)
Mayur Patidar, Prayushi Faldu, Avinash Kumar Singh, Lovekesh Vig, Indrajit Bhattacharya, Mausam
2023 conf
IJCNLP (2)
Pratik Saini, Tapas Nayak, Indrajit Bhattacharya
2023 J jnl
CoRR
Pratik Saini, Tapas Nayak, Indrajit Bhattacharya
2022 B conf
COLING
Arpita Kundu, Subhasish Ghosh, Pratik Saini, Tapas Nayak, Indrajit Bhattacharya
2022 conf
CICBA
Mrinmoy Sadhukhan, Swaraj Chowdhury, Manish Biswas, Indrajit Bhattacharya, Sudakshina Dasgupta
2022 J jnl
CoRR
Mayur Patidar, Avinash Kumar Singh, Prayushi Faldu, Lovekesh Vig, Indrajit Bhattacharya, Mausam
2021 conf
PAKDD (1)
Jayesh Choudhari, Srikanta Bedathur, Indrajit Bhattacharya, Anirban Dasgupta
2021 A conf
EACL
Saurabh Srivastava, Mayur Patidar, Sudip Chowdhury, Puneet Agarwal, Indrajit Bhattacharya, Gautam Shroff
2021 conf
NAACL-HLT
Soham Datta, Prabir Mallick, Sangameshwar Patil, Indrajit Bhattacharya, Girish K. Palshikar
2021 A conf
EACL
Aniket Pramanick, Indrajit Bhattacharya
2021 conf
COMAD/CODS
Debayan Mukherjee, Atreya Bandyopadhyay, Rajdip Chowdhury, Indrajit Bhattacharya
2021 A* conf
ASE
Sayandeep Mitra, Debayan Mukherjee, Atreya Bandyopadhyay, Rajdip Chowdhury, Raveendra Kumar Medicherla, Indrajit Bhattacharya, Ravindra Naik
2021 conf
TDS
Samiran Pal, Avinash Kumar Singh, Soham Datta, Sangameshwar Patil, Indrajit Bhattacharya, Girish Keshav Palshikar
2021 conf
ECML/PKDD (3)
Arpita Kundu, Subhasis Ghosh, Indrajit Bhattacharya
2020 Misc conf
ICDCN
Tamal Mondal, Imran Ali, Praveen Kumar, Sujoy Saha, Indrajit Bhattacharya
2020 B conf
SIGdial
Subhasis Ghosh, Arpita Kundu, Aniket Pramanick, Indrajit Bhattacharya
2020 J jnl
CoRR
Pradip Pramanick, Chayan Sarkar, Balamuralidhar Purushothaman, Ajay Kattepur, Indrajit Bhattacharya, Arpan Pal
2020 J jnl
CoRR
Pradip Pramanick, Chayan Sarkar, Indrajit Bhattacharya
2019 J jnl
Innov. Syst. Softw. Eng.
Kaustuv Sarangi, Indrajit Bhattacharya
2019 Misc conf
ICDCN
Tamal Mondal, Tunir Roy, Indrajit Bhattacharya, Sourav Bhattacharya, Indranil Das
2019 A conf
IROS
Pradip Pramanick, Chayan Sarkar, P. Balamuralidhar, Ajay Kattepur, Indrajit Bhattacharya, Arpan Pal
2019 Misc conf
ICDCN
Amit Kumar Gupta, Jyotsna Kumar Mandal, Indrajit Bhattacharya
2019 B conf
RO-MAN
Pradip Pramanick, Chayan Sarkar, Indrajit Bhattacharya
2018 J jnl
Knowl. Based Syst.
Tamal Mondal, Indrajit Bhattacharya, Prithviraj Pramanik, Naiwrita Boral, Jaydeep Roy, Subhanjan Saha, Sujoy Saha
2018 J jnl
Inf. Syst. Frontiers
Tamal Mondal, Prithviraj Pramanik, Indrajit Bhattacharya, Naiwrita Boral, Saptarshi Ghosh
2018 J jnl
Peer-to-Peer Netw. Appl.
Amit Kumar Gupta, Jyotsna Kumar Mandal, Indrajit Bhattacharya, Tamal Mondal, Sourav Sanu Shaw
2018 A* conf
ICDM
Jayesh Choudhari, Anirban Dasgupta, Indrajit Bhattacharya, Srikanta Bedathur
2018 J jnl
CoRR
Srikanta Bedathur, Indrajit Bhattacharya, Jayesh Choudhari, Anirban Dasgupta
2018 conf
CIKM Workshops
Arindam Pal, Arnab Bhattacharya, Indrajit Bhattacharya, Kripabandhu Ghosh, Lipika Dey, Marie-Francine Moens, Saptarshi Ghosh
2017 ch.
Encyclopedia of Machine Learning and Data Mining
Indrajit Bhattacharya, Lise Getoor
2017 J jnl
Int. J. Inf. Comput. Secur.
Amit Kr. Gupta, Jyotsna Kumar Mandal, Indrajit Bhattacharya
2017 conf
EACL (1)
Roy Bar-Haim, Indrajit Bhattacharya, Francesco Dinuzzo, Amrita Saha, Noam Slonim
2017 Misc conf
CISS
Tamal Mondal, Prithviraj Pramanik, Indrajit Bhattacharya, Arka Saha, Naiwrita Boral
2017 conf
CICBA (1)
Tamal Mondal, Indrajit Bhattacharya, Jaydeep Roy, Mrinmoy Maity
2016 A conf
ICSME
Tejas Patil, Raghavan Komondoor, Deepak D'Souza, Indrajit Bhattacharya
2016 J jnl
Wirel. Networks
Amit Kumar Gupta, Indrajit Bhattacharya, Parthasarathi Banerjee, Jyotsna Kumar Mandal, Animesh Mukherjee
2016 Misc conf
COMSNETS
Partha Sarathi Paul, Bishakh Chandra Ghosh, Kingshuk De, Sujoy Saha, Subrata Nandi, Subhanjan Saha, Indrajit Bhattacharya, Sandip Chakraborty
2016 conf
EM-GIS
Tamal Mondal, Jaydeep Roy, Indrajit Bhattacharya, Sandip Chakraborty, Arka Saha, Subhanjan Saha
2015 ed.
CODS Companion Volume
Manish Gupta, Y. Narahari, V. S. Subrahmanian, Indrajit Bhattacharya
2015 J jnl
CoRR
Lavanya Sita Tekumalla, Priyanka Agrawal, Indrajit Bhattacharya
2015 A* conf
KDD
Varun R. Embar, Indrajit Bhattacharya, Vinayaka Pandit, Roman Vaculín
2015 ed.
CODS
Manish Gupta, Y. Narahari, V. S. Subrahmanian, Indrajit Bhattacharya
2014 A* conf
KDD
Varun R. Embar, Rama Kumar Pasumarthi, Indrajit Bhattacharya
2014 conf
FICTA (2)
Indrajit Bhattacharya, Subhash Ghosh, Debashis Show
2013 conf
ECML/PKDD (2)
Adway Mitra, Ranganath B. N., Indrajit Bhattacharya
2013 conf
ECML/PKDD (2)
Priyanka Agrawal, Lavanya Sita Tekumalla, Indrajit Bhattacharya
2013 conf
WCRE
Raghavan Komondoor, Indrajit Bhattacharya, Deepak D'Souza, Sachin Kale
2012 J jnl
ACM Trans. Knowl. Discov. Data
Indrajit Bhattacharya, Shantanu Godbole, Sachindra Joshi, Ashish Verma
2012 J jnl
CoRR
Himabindu Lakkaraju, Indrajit Bhattacharya, Chiranjib Bhattacharyya
2012 A* conf
ICDM
Himabindu Lakkaraju, Indrajit Bhattacharya, Chiranjib Bhattacharyya
2011 A conf
SDM
Himabindu Lakkaraju, Chiranjib Bhattacharyya, Indrajit Bhattacharya, Srujana Merugu
2011 A* conf
ICDM
Avinava Dubey, Indrajit Bhattacharya, Mrinal Kanti Das, Tanveer A. Faruquie, Chiranjib Bhattacharyya
2011 Misc conf
COMAD
Indrajit Bhattacharya
2011 J jnl
CoRR
Indrajit Bhattacharya, Lise Getoor
2010 conf
ECML/PKDD (1)
Avinava Dubey, Indrajit Bhattacharya, Shantanu Godbole
2010 A conf
CIKM
Shantanu Godbole, Indrajit Bhattacharya, Ajay Gupta, Ashish Verma
2010 ch.
Encyclopedia of Machine Learning
Indrajit Bhattacharya, Lise Getoor
2009 A* conf
ICDM
Indrajit Bhattacharya, Shantanu Godbole, Sachindra Joshi, Ashish Verma
2009 A* conf
KDD
Indrajit Bhattacharya, Shantanu Godbole, Ajay Gupta, Ashish Verma, Jeff Achtermann, Kevin English
2008 A* conf
KDD
Indrajit Bhattacharya, Shantanu Godbole, Sachindra Joshi
2007 J jnl
ACM Trans. Knowl. Discov. Data
Indrajit Bhattacharya, Lise Getoor
2007 A* conf
AAAI
Indrajit Bhattacharya, Lise Getoor
2007 J jnl
J. Artif. Intell. Res.
Indrajit Bhattacharya, Lise Getoor
2006 A conf
SDM
Indrajit Bhattacharya, Lise Getoor
2006 J jnl
IEEE Data Eng. Bull.
Indrajit Bhattacharya, Lise Getoor
2006
Indrajit Bhattacharya
2006 A* conf
KDD
Indrajit Bhattacharya, Lise Getoor, Louis Licamele
2005 A conf
ICDCS
Indrajit Bhattacharya, Srinivas R. Kashyap, Srinivasan Parthasarathy
2004 conf
DMKD
Indrajit Bhattacharya, Lise Getoor
2004 conf
SENSEVAL@ACL
Clara I. Cabezas, Indrajit Bhattacharya, Philip Resnik
2004 A* conf
ACL
Indrajit Bhattacharya, Lise Getoor, Yoshua Bengio
2002 J jnl
IEEE Trans. Knowl. Data Eng.
Arun K. Majumdar, Indrajit Bhattacharya, Amit K. Saha
2002 J jnl
Inf. Process. Lett.
Anindya C. Patthak, Indrajit Bhattacharya, Anirban Dasgupta, Pallab Dasgupta, P. P. Chakrabarti
redb/extractors/decompiler/_archive/ghidra-test.py
← Index redb/extractors/decompiler/_archive/ghidra-test.py python
import subprocess
import json
import os
import tempfile
import uuid
import shutil
import sys
import time


def run_command(cmd, env=None):
    try:
        print(f"Starting command: {' '.join(cmd)}")
        start_time = time.time()
        process = subprocess.Popen(
            cmd, env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE, text=True
        )

        while True:
            output = process.stdout.readline()
            if output:
                print(output.strip())
            if process.poll() is not None:
                break

        stdout, stderr = process.communicate()
        end_time = time.time()

        print(f"Command finished. Execution time: {end_time - start_time:.2f} seconds")
        print(f"Return code: {process.returncode}")

        if process.returncode != 0:
            print(f"Error output:\n{stderr}")
            return None
        return stdout
    except Exception as e:
        print(f"Error running command {' '.join(cmd)}: {e}")
        return None


def analyze_binary(ghidra_path, binary_path, java_script_path):
    print(f"Ghidra path: {ghidra_path}")
    print(f"Binary path: {binary_path}")
    print(f"Java script path: {java_script_path}")

    # Check if Java script exists
    if not os.path.exists(java_script_path):
        print(f"Error: Java script not found at {java_script_path}")
        return None

    # Set up environment variables
    env = os.environ.copy()
    java_home = "/usr/lib/jvm/java-17-openjdk-amd64"  # Adjust this path if needed
    env["JAVA_HOME"] = java_home
    env["PATH"] = f"{java_home}/bin:{env['PATH']}"
    env["LD_LIBRARY_PATH"] = f"{java_home}/lib:{env.get('LD_LIBRARY_PATH', '')}"

    # Print environment variables for debugging
    print(f"JAVA_HOME: {env['JAVA_HOME']}")
    print(f"PATH: {env['PATH']}")
    print(f"LD_LIBRARY_PATH: {env['LD_LIBRARY_PATH']}")

    # Check Ghidra installation
    analyzeHeadless_path = f"{ghidra_path}/support/analyzeHeadless"
    print(f"analyzeHeadless exists: {os.path.exists(analyzeHeadless_path)}")

    print(f"Binary file exists: {os.path.exists(binary_path)}")

    # Check Java
    java_version = run_command(["java", "-version"], env=env)
    print(f"Java version: {java_version}")

    # Create a temporary project directory
    project_path = tempfile.gettempdir() + "/ghidra_" + str(uuid.uuid4())
    os.makedirs(project_path, exist_ok=True)
    print(f"Created temporary project path: {project_path}")
    output_file = ""

    try:
        # Run Ghidra's headless analyzer
        analyze_cmd = [
            analyzeHeadless_path,
            project_path,
            "TempProject",
            "-import",
            binary_path,
            "-postScript",
            java_script_path,
            "-deleteProject",
        ]

        result = run_command(analyze_cmd, env=env)
        if result is None:
            return None

        # Read the output JSON file
        output_file = "ghidra_output.json"
        if os.path.exists(output_file):
            with open(output_file, "r") as f:
                functions = json.load(f)
            return functions
        else:
            print(
                f"Output file {output_file} not found. Ghidra analysis may have failed."
            )
            # List files in the current directory
            print("Files in the current directory:")
            print("\n".join(os.listdir(".")))
            return None
    finally:
        # Clean up
        if os.path.exists(output_file):
            os.remove(output_file)
        if os.path.exists(project_path):
            shutil.rmtree(project_path)


# Example usage
if __name__ == "__main__":
    # if len(sys.argv) != 4:
    #     print("Usage: python script.py <ghidra_path> <binary_path> <java_script_path>")
    #     sys.exit(1)

    # ghidra_path = sys.argv[1]
    # binary_path = sys.argv[2]
    # java_script_path = sys.argv[3]

    ghidra_path = "/opt/ghidra"
    binary_path = "/home/p4c0/dev/redb/test_files/hello"
    java_script_path = (
        "/opt/ghidra/Ghidra/Features/Base/ghidra_scripts/GhidraDecompilerScript.java"
    )

    functions = analyze_binary(ghidra_path, binary_path, java_script_path)

    if functions:
        print(f"Extracted functions from {binary_path}:")
        for func in functions:
            print(f"\nFunction: {func['name']}")
            print(f"Address: {func['address']}")
            print(f"Decompiled code:\n{func['decompiled']}")
    else:
        print("Failed to extract functions.")