Neil Pollock

26 papers C 3Misc 1Journal 17Unranked 4
YearRankTypeTitle / Venue / Authors
2023 J jnl
J. Enterp. Inf. Manag.
Najmeh Hafezieh, Neil Pollock, Annmarie Ryan
2023 J jnl
Inf. Organ.
Najmeh Hafezieh, Neil Pollock
2022 J jnl
Inf. Organ.
Neil Pollock, Robin Williams, Luciana D'Adderio
2020 conf
TDIT (2)
Fábio Neves da Rocha, Neil Pollock
2019 conf
ICEIS (2)
Fábio Neves da Rocha, Neil Pollock
2018 C conf
ICIS
Najmeh Hafezieh, Neil Pollock
2015 J jnl
Inf. Organ.
Gian Marco Campagnolo, Neil Pollock, Robin Williams
2015 J jnl
Inf. Organ.
Neil Pollock, Robin Williams
2014 J jnl
J. Assoc. Inf. Syst.
Eric Monteiro, Neil Pollock, Robin Williams
2014 J jnl
MIS Q.
Neil Pollock, Sampsa Hyysalo
2013 J jnl
Comput. Support. Cooperative Work.
Eric Monteiro, Neil Pollock, Ole Hanseth, Robin Williams
2012 J jnl
Inf. Syst. Res.
Robin Williams, Neil Pollock
2011 J jnl
Inf. Organ.
Neil Pollock, Robin Williams
2010 J jnl
Inf. Organ.
Neil Pollock, Robin Williams, Luciana D'Adderio, Christine Grimm
2010 J jnl
Comput. Support. Cooperative Work.
Neil Pollock, Robin Williams
2009 C conf
ICIS
Robin Williams, Neil Pollock
2009 conf
MCIS
Neil Pollock, Robin Williams
2009 ch.
Configuring User-Designer Relations
Neil Pollock, Robin Williams
2009 J jnl
Inf. Organ.
Neil Pollock, Robin Williams, Luciana D'Adderio, Christine Grimm
2009 J jnl
Inf. Organ.
Neil Pollock, Robin Williams
2007 J jnl
Inf. Organ.
Neil Pollock, Robin Williams
2006 C conf
ICIS
Neil Pollock, Robin Williams
2004 J jnl
Inf. Technol. People
Neil Pollock, James Cornford
2003 J jnl
Technol. Anal. Strateg. Manag.
Neil Pollock, Robin Williams, Rob Procter
2002 Misc conf
SAC
Neil Pollock, James Cornford
2001 conf
SIIT
Neil Pollock, James Cornford
redb/extractors/decompiler/bninja/analysis/low_level_normalization.py
← Index redb/extractors/decompiler/bninja/analysis/low_level_normalization.py python
from binaryninja import (
    ILRegister, ILRegisterStack, ILFlag,
    ILIntrinsic, ILSemanticFlagGroup,
)

class LowLevelNormalization:
    def __init__(self):
        return

    def _collect_ops(self, il, ops):
        if il is None:
            return
        ops.append(int(il.operation))
        operands = getattr(il, "operands", None)
        if not operands:
            return
        for op in operands:
            if hasattr(op, "operation"):
                self._collect_ops(op, ops)
            elif isinstance(op, (list, tuple)):
                for sub in op:
                    if hasattr(sub, "operation"):
                        self._collect_ops(sub, ops)

    def normalize_instruction_all_levels(self, instr_il):
        ops = []
        self._collect_ops(instr_il, ops)

        return ops

    def _leaf_type(self, val):
        if isinstance(val, ILRegister):
            return "REG"
        if isinstance(val, ILRegisterStack):
            return "REG_STACK"
        if isinstance(val, ILFlag):
            return "FLAG"
        if isinstance(val, ILSemanticFlagGroup):
            return "FLAG_GROUP"
        if isinstance(val, ILIntrinsic):
            return "INTRINSIC"
        if isinstance(val, bool):
            return "BOOL"
        if isinstance(val, int):
            return "CONST"
        return type(val).__name__.upper()

    def _collect(self, il, out):
        if il is None:
            return
        out.append(int(il.operation))
        operands = getattr(il, "operands", None)
        if not operands:
            return
        for op in operands:
            if hasattr(op, "operation"):
                self._collect(op, out)
            elif isinstance(op, (list, tuple)):
                for sub in op:
                    if hasattr(sub, "operation"):
                        self._collect(sub, out)
                    else:
                        out.append(self._leaf_type(sub))
            else:
                out.append(self._leaf_type(op))

    def normalize_instr_with_operands(self, instr_il):
        ops = []
        self._collect(instr_il, ops)
        return ops