Manon Reusens

14 papers A* 2B 1Journal 8Unranked 3
YearRankTypeTitle / Venue / Authors
2026 J jnl
CoRR
Manon Reusens, Sofie Goethals, Toon Calders, David Martens
2025 conf
EMNLP (Findings)
Manon Reusens, Bart Baesens, David Jurgens
2025 J jnl
CoRR
Manon Reusens, Bart Baesens, David Jurgens
2025 J jnl
AI Soc.
Manon Reusens, Amy Adams, Bart Baesens
2025 conf
IJCNLP-AACL (Findings)
Manon Reusens, Philipp Borchert, Jochen De Weerdt, Bart Baesens
2025 conf
ECML/PKDD (9)
Margot Geerts, Manon Reusens, Bart Baesens, Seppe vanden Broucke, Jochen De Weerdt
2025 J jnl
CoRR
Margot Geerts, Manon Reusens, Bart Baesens, Seppe vanden Broucke, Jochen De Weerdt
2024 J jnl
Expert Syst. Appl.
Manon Reusens, Alexander Stevens, Jonathan Tonglet, Johannes De Smedt, Wouter Verbeke, Seppe vanden Broucke, Bart Baesens
2024 J jnl
CoRR
Manon Reusens, Philipp Borchert, Jochen De Weerdt, Bart Baesens
2023 A* conf
EMNLP
Manon Reusens, Philipp Borchert, Margot Mieskes, Jochen De Weerdt, Bart Baesens
2023 J jnl
CoRR
Manon Reusens, Philipp Borchert, Margot Mieskes, Jochen De Weerdt, Bart Baesens
2023 A* conf
EMNLP
Jonathan Tonglet, Manon Reusens, Philipp Borchert, Bart Baesens
2023 J jnl
CoRR
Jonathan Tonglet, Manon Reusens, Philipp Borchert, Bart Baesens
2022 B conf
RCIS
Elena Tiukhova, Manon Reusens, Bart Baesens, Monique Snoeck
redb/extractors/decompiler/bninja/function_type.py
← Index redb/extractors/decompiler/bninja/function_type.py python
from enum import Enum

import binaryninja


class FunctionType(Enum):
    USER = "USER"
    LIBRARY = "LIBRARY"
    EXTERNAL = "EXTERNAL"
    THUNK = "THUNK"
    UNKNOWN = "UNKNOWN"


class FunctionTypeAnalysis:
    """Get the function kind based on the symbol type associated to this function"""

    def __init__(self, function):
        """Sets the function type dependent on the symbol type associated to this function. If
        any errors occur, then returns UNKNOWN
        """
        self.func_type = FunctionType.USER

        try:
            symbol_type = function.symbol.type
            # Check if it's an external function (there should not be, already skipping these)
            if symbol_type == binaryninja.enums.SymbolType.ImportedFunctionSymbol:
                self.func_type = FunctionType.EXTERNAL

            # Library functions detected by Binary Ninja
            if symbol_type == binaryninja.enums.SymbolType.LibraryFunctionSymbol:
                self.func_type = FunctionType.LIBRARY

            # Check if it's a thunk function
            if function.is_thunk:
                self.func_type = FunctionType.THUNK

        except Exception as _:
            self.func_type = FunctionType.UNKNOWN

    def get_function_type(self):
        return self.func_type