Caroline E. Harriott

17 papers A* 5B 3C 1Journal 5Unranked 3
YearRankTypeTitle / Venue / Authors
2019 J jnl
ACM Trans. Hum. Robot Interact.
Jamison Heard, Rachel Heald, Caroline E. Harriott, Julie A. Adams
2018 conf
HRI (Companion)
Jamison Heard, Rachel Heald, Caroline E. Harriott, Julie A. Adams
2018 J jnl
IEEE Trans. Hum. Mach. Syst.
Jamison Heard, Caroline E. Harriott, Julie A. Adams
2017 B conf
RO-MAN
Jamison Heard, Caroline E. Harriott, Julie A. Adams
2017 C conf
ISRR
Laura Major, Caroline E. Harriott
2017 conf
HRI (Companion)
Sara K. Garver, Caroline E. Harriott, Krysta Chauncey, Meredith G. Cunha
2017 B conf
RO-MAN
Caroline E. Harriott, Julie A. Adams
2015 conf
HRI (Extended Abstracts)
Matthew D. Manning, Caroline E. Harriott, Sean Timothy Hayes, Julie A. Adams, Adriane E. Seiffert
2015 J jnl
J. Hum. Robot Interact.
Caroline E. Harriott, Glenna L. Buford, Julie A. Adams, Tao Zhang
2015 B conf
CogSci
Adriane E. Seiffert, Sean Timothy Hayes, Caroline E. Harriott, Julie A. Adams
2013 J jnl
Int. J. Hum. Comput. Stud.
Caroline E. Harriott, Tao Zhang, Julie A. Adams
2013 J jnl
J. Hum. Robot Interact.
Daniel T. Levin, Caroline E. Harriott, Natalie A. Paul, Tao Zhang, Julie A. Adams
2013 A* conf
HRI
Solace Shen, Astrid M. Rosenthal-von der Pütten, Henny Admoni, Matt Beane, Caroline E. Harriott, Yasuhiko Hato, Yunkyung Kim, Daniel A. Lazewatsky, Matt Marge, Robin Read, Marynel Vázquez, Steve Vozar
2012 A* conf
HRI
Caroline E. Harriott, Glenna L. Buford, Tao Zhang, Julie A. Adams
2012 A* conf
HRI
Caroline E. Harriott, Glenna L. Buford, Tao Zhang, Julie A. Adams
2011 A* conf
HRI
Caroline E. Harriott, Tao Zhang, Julie A. Adams
2010 A* conf
HRI
Caroline E. Harriott, Julie A. Adams
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