Module Expr Str Import alias Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Num Assign NameStore Str Assign NameStore ListLoad Num Num Num Num Num Num Num Num Assign NameStore Call NameLoad NameLoad Assign NameStore Num FunctionDef arguments args NameParam defaults body Return BinOpSub Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If CompareGt NameLoad Num body AugAssignAdd NameStore Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body If CompareNotEq BinOpBitAnd SubscriptLoad NameLoad Index NameLoad SubscriptLoad NameLoad Index NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str TryExcept body Return Call AttributeLoad Str attr Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad Str attr NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Str decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults BinOpMult NameLoad NameLoad body Expr Str Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Str BinOpMult TupleLoad Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return BinOpAdd Str Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If CompareGtE NameLoad Call NameLoad AttributeLoad NameLoad attr body Return AugAssignBitOr SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad If CompareGtE NameLoad Call NameLoad AttributeLoad NameLoad attr body Return NameLoad Return CompareNotEq BinOpBitAnd SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body If CompareNotEq BinOpBitAnd Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body If CompareNotEq BinOpBitAnd SubscriptLoad AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body If CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore Call NameLoad Call NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body AugAssignBitOr SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareGt NameLoad NameLoad body Assign NameStore NameLoad For NameStore Call NameLoad NameLoad body AugAssignBitAnd SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Lambda arguments args NameParam defaults Call NameLoad NameLoad AttributeLoad NameLoad attr Return BinOpAdd Call AttributeLoad NameLoad attr Str NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call NameLoad NameLoad Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Call AttributeLoad Str attr NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad AttributeLoad NameLoad attr If CompareNotEq BinOpFloorDiv Call NameLoad NameLoad Num NameLoad body Return For NameStore Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Slice Num Assign NameStore SubscriptLoad NameLoad Slice Num Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad BinOpAdd BinOpMult Num SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index SubscriptLoad NameLoad Index Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Num Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Print Str NameLoad Print Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Print Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Print Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Print Str Call AttributeLoad NameLoad attr Num Print Str Call AttributeLoad NameLoad attr Num Print Str Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Print Str Call NameLoad NameLoad Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Num Print Str Call AttributeLoad NameLoad attr Print Str Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad NameLoad Print Str Call NameLoad NameLoad Call NameLoad NameLoad Print Str Call NameLoad NameLoad NameLoad Print Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Print Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Print Str Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Print Str Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Print Str Call AttributeLoad NameLoad attr Print Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Print Str Print Str AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Print Str Print Str Call AttributeLoad NameLoad attr NameLoad Print Str Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Print Str Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Print Str NameLoad Str Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Print Str NameLoad Str Call AttributeLoad NameLoad attr
N/A N/A 
define bit operations on byte arrays required by Elly parsing
 N/A array N/A hxh N/A 0 1 2 3 4 5 6 7 8 9 A B C D E F 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 N/A hxd 0123456789ABCDEF N/A sel N/A 128 64 32 16 8 4 2 1 N/A N N/A len sel N/A nB 2 _com N/A N/A x N/A N/A N/A N/A 255 x N/A getByteCountFor N/A N/A nbc N/A N/A N/A 
    set default byte count from bit count wanted

    arguments:
        nbc   - bit count wanted

    returns:
        number of bytes
     N/A N/A n m N/A divmod nbc N N/A N/A m 0 N/A N/A n 1 N/A n N/A join N/A N/A a b N/A N/A N/A 
    combine pair of EllyBits to compare against compound bits

    arguments:
        a   - EllyBits object
        b   - EllyBits object

    returns:
        merged array of bytes for comparison
     N/A N/A N/A a data N/A b data N/A check N/A N/A bs ps N/A N/A N/A 
    check for match of compounded bits with positive and negative bits

    arguments:
        bs  - compounded bits as btye array
        ps  - positive and negative pattern bits as btye array

    returns:
        True on match, False otherwise
     N/A n N/A len bs N/A i N/A range n N/A N/A N/A N/A N/A bs N/A i N/A ps N/A i 0 N/A N/A False N/A True N/A show N/A N/A bs N/A N/A N/A 
    convert join'ed bits into hexadecimal

    arguments:
        bs - bit string as array of bytes

    returns:
        hexadecimal representation
     N/A N/A N/A N/A N/A join N/A map N/A N/A N/A b N/A N/A N/A {:02x} format b bs N/A N/A N/A ValueError N/A N/A -- N/A EllyBits N/A object N/A N/A 
    bit string as Python array of byte values

    attributes:
        data  - array for bits
     __init__ N/A N/A self nob N/A N/A nB N N/A N/A 
        initialize
        arguments:
            self  -
            nob   - number of bits in string
         N/A n N/A getByteCountFor nob N/A N/A self data N/A N/A array array B N/A N/A 0 n N/A __str__ N/A N/A self N/A N/A N/A 
        represent bit data
        arguments:
            self
        returns:
            hexadecimal string for bits
         N/A N/A EllyBits:  N/A show N/A self data N/A set N/A N/A self k N/A N/A N/A 
        set kth bit by OR'ing
        arguments:
            self  -
            k     - which bit
         N/A N/A n m N/A divmod k N N/A N/A n N/A len N/A self data N/A N/A N/A N/A N/A self data N/A n N/A sel N/A m N/A test N/A N/A self k N/A N/A N/A 
        test kth bit
        arguments:
            self  -
            k     - which bit
        returns:
            True if kth bit == 1, False otherwise
         N/A N/A n m N/A divmod k N N/A N/A n N/A len N/A self data N/A N/A False N/A N/A N/A N/A N/A self data N/A n N/A sel N/A m 0 N/A match N/A N/A self r N/A N/A N/A 
        compare bits with reference
        arguments:
            self  -
            r     - bit string to compare with
        returns:
            True if ON bits include all reference ON bits, False otherwise
         N/A m N/A len N/A self data N/A n N/A len N/A r data N/A N/A n m N/A N/A n m N/A i N/A range n N/A N/A N/A N/A N/A _com N/A N/A self data N/A i N/A N/A r data N/A i 0 N/A N/A False N/A True N/A equal N/A N/A self r N/A N/A N/A 
        check that bits are the same as reference
        arguments:
            self  -
            r     - bit string in byte array to compare with
        returns:
            True if all bits the same, False otherwise
         N/A i N/A range N/A len N/A r data N/A N/A N/A N/A N/A self data N/A i N/A N/A r data N/A i N/A N/A False N/A True N/A intersect N/A N/A self r N/A N/A N/A 
        intersect bits with reference
        arguments:
            self  -
            r     - bit string in byte array to compare with
        returns:
            True if bits intersect, False otherwise
         N/A m N/A len N/A self data N/A n N/A len N/A r data N/A N/A n m N/A N/A n m N/A i N/A range n N/A N/A N/A N/A N/A N/A self data N/A i N/A N/A r data N/A i 0 N/A N/A True N/A False N/A zeroed N/A N/A self N/A N/A N/A 
        check if all bits zero
        arguments:
            self
        returns:
            True if all zero, False otherwise
         N/A i N/A range N/A len N/A self data N/A N/A N/A N/A N/A self data N/A i 0 N/A N/A False N/A True N/A clear N/A N/A self N/A N/A N/A 
        reset all bits to zero
        arguments:
            self
         N/A i N/A range N/A len N/A self data N/A N/A N/A N/A self data N/A i 0 N/A complement N/A N/A self N/A N/A N/A 
        set all bits to their complement
        arguments:
            self
         N/A i N/A range N/A len N/A self data N/A N/A N/A N/A self data N/A i N/A _com N/A N/A self data N/A i N/A combine N/A N/A self r N/A N/A N/A 
        form disjunction with other bit string
        arguments:
            self  -
            r     - bit string in byte array to OR with
         N/A m N/A len N/A self data N/A n N/A len N/A r data N/A N/A n m N/A N/A n m N/A i N/A range n N/A N/A N/A N/A self data N/A i N/A N/A r data N/A i N/A reset N/A N/A self r N/A N/A N/A 
        reset selected bits
        arguments:
            self  -
            r     - = 1 for bits to keep
         N/A m N/A len N/A self data N/A n N/A len N/A r data N/A N/A n m N/A N/A n m N/A i N/A range n N/A N/A N/A N/A self data N/A i N/A N/A r data N/A i N/A compound N/A N/A self N/A N/A N/A 
        build compound representation for positive and negative bit testing
        arguments:
            self
        returns:
            combination of complemented bits as byte array
         N/A cm N/A map N/A N/A N/A x N/A N/A _com x N/A self data N/A N/A N/A N/A array array B cm N/A self data N/A hexadecimal N/A N/A self divide N/A True N/A N/A 
        convert bits to hexadecimal
        arguments:
            self   -
            divide - flag to split output into 2-char segments
        returns:
            hexadecimal string
         N/A bs N/A N/A b N/A self data N/A N/A N/A n m N/A divmod b 16 N/A N/A N/A bs append N/A hxd N/A n N/A N/A N/A bs append N/A hxd N/A m N/A divide N/A N/A N/A N/A bs append N/A N/A N/A N/A N/A join bs rstrip N/A reinit N/A N/A self hexb N/A N/A N/A 
        reset bits to hexadecimal specification
        arguments:
            self  -
            hexb  - hexadecimal bit specification
         N/A ln N/A len N/A self data N/A N/A N/A N/A len hexb 2 ln N/A N/A N/A i N/A range ln N/A N/A bs N/A hexb N/A 2 N/A hexb N/A hexb N/A 2 N/A N/A N/A self data N/A i N/A N/A 16 N/A hxh N/A N/A bs N/A 0 N/A hxh N/A N/A bs N/A 1 N/A count N/A N/A self N/A N/A N/A 
        get byte length of data
        arguments:
            self
        returns:
            integer coutn
         N/A N/A len N/A self data N/A N/A N/A N/A __name__ __main__ N/A N/A K 12 N/A bbs N/A EllyBits K N/A N/A N/A bbs set 0 N/A N/A N/A bbs set 6 N/A N/A N/A bbs set 11 N/A bbs= bbs N/A bbs before: N/A bbs data hex= N/A N/A bbs hexadecimal N/A bbt N/A EllyBits K N/A N/A N/A bbt set 9 N/A bbt before: N/A bbt data hex= N/A N/A bbt hexadecimal N/A N/A N/A bbs combine bbt N/A bbs combined with bbs: N/A bbs data hex= N/A N/A bbs hexadecimal N/A test bit  9 of bbs N/A N/A bbs test 9 N/A test bit 10 of bbs N/A N/A bbs test 10 N/A test bit 11 of bbs N/A N/A bbs test 11 N/A cbs N/A N/A bbs compound N/A compound bbs= N/A type cbs N/A show cbs N/A pbs N/A EllyBits K N/A nbs N/A EllyBits K N/A N/A N/A pbs set 6 N/A N/A N/A nbs set 7 N/A pbs= N/A N/A pbs hexadecimal N/A nbs= N/A N/A nbs hexadecimal N/A tbs N/A join pbs nbs N/A join pbs, nbs= N/A type tbs N/A show tbs N/A check compound versus join= N/A check cbs tbs N/A current   bbs N/A bbs data hex= N/A N/A bbs hexadecimal N/A N/A N/A bbs complement N/A complemented  N/A bbs data hex= N/A N/A bbs hexadecimal N/A N/A N/A bbs clear N/A cleared   bbs N/A bbs data hex= N/A N/A bbs hexadecimal N/A N/A N/A pbs set 7 N/A comparing x= N/A N/A pbs hexadecimal and y= N/A N/A nbs hexadecimal N/A x equal y: N/A N/A pbs equal nbs N/A x match y: N/A N/A pbs match nbs N/A y match x: N/A N/A nbs match pbs N/A N/A N/A nbs set 6 N/A z= N/A N/A nbs hexadecimal N/A x match z: N/A N/A pbs equal nbs N/A N/A N/A bbs reinit FFEE N/A set bbs to FFEE N/A bbs: N/A bbs data hex= N/A N/A bbs hexadecimal N/A N/A N/A bbs reinit FF12 N/A set bbs to FF12 N/A = N/A N/A bbs hexadecimal False N/A resetting with EEEE N/A rbs N/A EllyBits K N/A N/A N/A rbs reinit EEEE N/A N/A N/A bbs reset rbs N/A = N/A N/A bbs hexadecimal False N/A N/A N/A bbs reinit 0000 N/A = bbs zeroed= N/A N/A bbs zeroed N/A N/A N/A bbs set 1 N/A = bbs zeroed= N/A N/A bbs zeroed