Beispiel #1
0
def mips_le_assembler():
    return assembler.Assembler().SetArchAndMode(assembler.MIPS_32, 
                                                assembler.LITTLE_ENDIAN)
Beispiel #2
0
def mips_be_assembler():
    return assembler.Assembler().SetArchAndMode(assembler.MIPS_32, 
                                                assembler.BIG_ENDIAN)
Beispiel #3
0
def arm64_le_assembler():
    return assembler.Assembler().SetArchAndMode(assembler.ARM_64, 
                                                assembler.LITTLE_ENDIAN)
Beispiel #4
0
def arm_be_assembler():
    return assembler.Assembler().SetArchAndMode(assembler.ARM_32, 
                                                assembler.BIG_ENDIAN)
Beispiel #5
0
def thumb_be_assembler():
    return assembler.Assembler().SetArchAndMode(assembler.ARM_16, 
                                                assembler.BIG_ENDIAN)
Beispiel #6
0
def thumb_le_assembler():
    return assembler.Assembler().SetArchAndMode(assembler.ARM_16, 
                                                assembler.LITTLE_ENDIAN)
Beispiel #7
0
def x86_64_assembler():
    return assembler.Assembler().SetArchAndMode(assembler.X86_64, 
                                                assembler.LITTLE_ENDIAN)