uroboros-diversification/src/analysis/reassemble_symbol_get.py
def alignvldrARM(self, instrs):
        """
        Insert alignment compiler instruction for vldr targets (ARM)
        :param instrs: instruction list
        """
        self.ARMvldrtargets = sorted(set(self.ARMvldrtargets))
        i = 0; j = 0
        while True:
            if i == len(instrs) or j == len(self.ARMvldrtargets): break
            loc = get_loc(instrs[i])
            if loc.loc_addr == self.ARMvldrtargets[j]:
                loc.loc_label = '\n.align 2' + loc.loc_label
                instrs[i] = set_loc(instrs[i], loc)
                j += 1
            elif loc.loc_addr > self.ARMvldrtargets[j]:
                j += 1
                i -= 2
            i += 1
        return instrs

        Insert alignment compiler instruction for vldr targets (ARM)
        :param instrs: instruction list
        
Insert alignment compiler instruction for vldr targets (ARM)
Insert alignment compiler instruction for vldr targets ( ARM )
def alignvldrARM(self, instrs):
        self.ARMvldrtargets = sorted(set(self.ARMvldrtargets))
        i = 0; j = 0
        while True:
            if i == len(instrs) or j == len(self.ARMvldrtargets): break
            loc = get_loc(instrs[i])
            if loc.loc_addr == self.ARMvldrtargets[j]:
                loc.loc_label = '\n.align 2' + loc.loc_label
                instrs[i] = set_loc(instrs[i], loc)
                j += 1
            elif loc.loc_addr > self.ARMvldrtargets[j]:
                j += 1
                i -= 2
            i += 1
        return instrs
def alignvldrARM ( self , instrs ) : self . ARMvldrtargets = sorted ( set ( self . ARMvldrtargets ) ) i = 0 ; j = 0 while True : if i == len ( instrs ) or j == len ( self . ARMvldrtargets ) : break loc = get_loc ( instrs [ i ] ) if loc . loc_addr == self . ARMvldrtargets [ j ] : loc . loc_label = '\n.align 2' + loc . loc_label instrs [ i ] = set_loc ( instrs [ i ] , loc ) j += 1 elif loc . loc_addr > self . ARMvldrtargets [ j ] : j += 1 i -= 2 i += 1 return instrs
Insert alignment compiler instruction for vldr targets (ARM)
Insert alignment compiler instruction for vldr targets ( ARM )
"""
        Insert alignment compiler instruction for vldr targets (ARM)
        :param instrs: instruction list
        """
self
instrs
None