name string | code string | asm string | file string |
|---|---|---|---|
DecodeLDRPreReg | static DecodeStatus DecodeLDRPreReg(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned pred, Rm;
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
unsigned Rt = fieldFromInstruction_4(Insn, 12, 4);
unsigned imm = fieldFromInstruction_4(Insn, 0... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %ebp
shrl $0x10, %ebp
andl $0xf, %ebp
shrl $0xc, %esi
andl $0xf, %esi
xorl %r12d, %r12d
cmpl %esi, %ebp
setne %r12b
addl %r12d, %r12d
pushq $0x1
popq %r13
orl %r13d, %r12d
cmpl $0xf, %ebp
movl %ebx, %... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeMemMultipleWritebackInstruction | static DecodeStatus DecodeMemMultipleWritebackInstruction(MCInst *Inst,
unsigned Insn, uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
unsigned pred = fieldFromInstruction_4(Insn, 28, 4);
unsigned reglist = fieldFromInstruction_... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r14d
movq %rdi, %rbx
movl %esi, %r15d
shrl $0x10, %r15d
andl $0xf, %r15d
movl %esi, %r12d
shrl $0x1c, %r12d
cmpl $0xf, %r12d
jne 0x50be8
callq 0x44a14
xorl %ebp, %ebp
leal -0x8e(%rax), %ecx
cmpl $0x8, %ecx
ja 0x50c55
leaq 0x7b737(%rip), %rax # 0xcc3... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeGPRwithAPSRRegisterClass | static DecodeStatus DecodeGPRwithAPSRRegisterClass(MCInst *Inst, unsigned RegNo,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
if (RegNo == 15) {
MCOperand_CreateReg0(Inst, ARM_APSR_NZCV);
return MCDisassembler_Success;
}
Check(&S, DecodeGPRRegisterClass(Inst, RegNo, Addr... | pushq %rax
cmpl $0xf, %esi
jne 0x5106d
pushq $0x2
popq %rsi
callq 0x44aa1
pushq $0x3
popq %rax
jmp 0x51088
callq 0x4f54f
movl %eax, %ecx
xorl %eax, %eax
cmpl $0x1, %ecx
setne %al
leal 0x1(,%rax,2), %eax
testl %ecx, %ecx
cmovel %ecx, %eax
popq %rcx
retq
| /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeDPRRegisterClass | static DecodeStatus DecodeDPRRegisterClass(MCInst *Inst, unsigned RegNo,
uint64_t Address, const void *Decoder)
{
unsigned Register = 0;
if (RegNo > 31)
return MCDisassembler_Fail;
Register = DPRDecoderTable[RegNo];
MCOperand_CreateReg0(Inst, Register);
return MCDisassembler_Success;
} | xorl %eax, %eax
cmpl $0x1f, %esi
ja 0x510ab
pushq %rax
movl %esi, %eax
leaq 0x7c225(%rip), %rcx # 0xcd2c0
movzwl (%rcx,%rax,2), %esi
callq 0x44aa1
pushq $0x3
popq %rax
addq $0x8, %rsp
retq
| /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVSHLMaxInstruction | static DecodeStatus DecodeVSHLMaxInstruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rm, size;
unsigned Rd = fieldFromInstruction_4(Insn, 12, 4);
Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4;
Rm = fieldFromInstruction_4(Insn, 0, 4)... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %rbx
movl %esi, %eax
shrl $0xc, %eax
andl $0xf, %eax
movl %esi, %ebp
shrl $0x12, %ebp
movl %ebp, %esi
andl $0x10, %esi
orl %eax, %esi
callq 0x510ac
movl %eax, %r12d
xorl %r14d, %r14d
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x51157
movl %r15d,... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeNEONModImmInstruction | static DecodeStatus DecodeNEONModImmInstruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned imm, Q;
unsigned Rd = fieldFromInstruction_4(Insn, 12, 4);
Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4;
imm = fieldFromInstruction_4(Insn, 0, ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %r15d
movq %rdi, %r14
movl %esi, %r12d
shrl $0xc, %r12d
movl %r12d, %eax
andl $0xf, %eax
movl %esi, %ebp
shrl $0x12, %ebp
andl $0x10, %ebp
orl %eax, %ebp
movl %ebp, %esi
testb $0x40, %r15b
jne 0x51283
callq 0x5108a
jmp 0x51288
callq 0x510ac
movl %eax, %e... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVCVTQ | static DecodeStatus DecodeVCVTQ(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Vm, imm, cmode, op;
unsigned Vd = (fieldFromInstruction_4(Insn, 12, 4) << 0);
Vd |= (fieldFromInstruction_4(Insn, 22, 1) << 4);
Vm = (fieldFromInstruction_4(Insn... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r15d
shrl $0x5, %r15d
andl $0x1, %r15d
movl %esi, %eax
andl $0x380f00, %eax # imm = 0x380F00
xorl %r14d, %r14d
cmpl $0xf00, %eax # imm = 0xF00
jne 0x51444
testl %r15d, %r15d
jne 0x514ac
movq %rbx, %rdi
... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVST2LN | static DecodeStatus DecodeVST2LN(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned size, align = 0, index = 0, inc = 1;
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
unsigned Rm = fieldFromInstruction_4(Insn, 0, 4);
unsigned Rd = fieldFro... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
movl %esi, %eax
shrl $0xa, %eax
andl $0x3, %eax
xorl %ebp, %ebp
leaq 0x7ab8c(%rip), %rcx # 0xcc380
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl %ebx, %r12d
shrl $0x5, %r12d
andl $0x7, %r12d
mov... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVLD2LN | static DecodeStatus DecodeVLD2LN(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned size, align = 0, index = 0, inc = 1;
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
unsigned Rm = fieldFromInstruction_4(Insn, 0, 4);
unsigned Rd = fieldFro... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebp
movl %esi, %eax
shrl $0xa, %eax
andl $0x3, %eax
xorl %ebx, %ebx
leaq 0x7aa07(%rip), %rcx # 0xcc390
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl %ebp, %r12d
shrl $0x5, %r12d
andl $0x7, %r12d
movl %ebp, %r... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVLDST2Instruction | static DecodeStatus DecodeVLDST2Instruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
unsigned type, align, load;
unsigned size = fieldFromInstruction_4(Insn, 6, 2);
if (size == 3) return MCDisassembler_Fail;
type = fieldFromInstruction_4(Insn, 8, 4);
align = fieldFromInstruction_4(I... | movl %esi, %eax
notl %eax
testb $-0x40, %al
sete %al
movl %esi, %ecx
andl $0xe30, %ecx # imm = 0xE30
cmpl $0x830, %ecx # imm = 0x830
sete %cl
orb %al, %cl
je 0x51fa1
xorl %eax, %eax
retq
btl $0x15, %esi
jb 0x53f77
jmp 0x54299
| /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVLD4LN | static DecodeStatus DecodeVLD4LN(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned size, align = 0, index = 0, inc = 1;
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
unsigned Rm = fieldFromInstruction_4(Insn, 0, 4);
unsigned Rd = fieldFro... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movl %esi, %ebp
movq %rdi, %r14
movl %esi, %eax
shrl $0xa, %eax
andl $0x3, %eax
xorl %ebx, %ebx
leaq 0x7a200(%rip), %rcx # 0xcc3d0
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movl %ebp, %r12d
shrl $0x2, %r12d
andl $0x4, %r1... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVLDST3Instruction | static DecodeStatus DecodeVLDST3Instruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
unsigned align, load;
unsigned size = fieldFromInstruction_4(Insn, 6, 2);
if (size == 3) return MCDisassembler_Fail;
align = fieldFromInstruction_4(Insn, 4, 2);
if (align & 2) return MCDisassembler_... | movl %esi, %eax
notl %eax
testb $-0x40, %al
sete %al
movl %esi, %ecx
andl $0x20, %ecx
shrl $0x5, %ecx
orb %al, %cl
jne 0x5243d
btl $0x15, %esi
jb 0x53f77
jmp 0x54299
xorl %eax, %eax
retq
| /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVLD1DupInstruction | static DecodeStatus DecodeVLD1DupInstruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn, Rm, align, size;
unsigned Rd = fieldFromInstruction_4(Insn, 12, 4);
Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4;
Rn = fieldFromInstruction_4(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %r13d
shrl $0x4, %r13d
movl %esi, %ecx
shrl $0x6, %ecx
andl $0x3, %ecx
sete %al
xorl %ebx, %ebx
testb %r13b, %al
jne 0x52513
movl %esi, %ebp
movq %rdi, %r14
movl %esi, %eax
shrl $0xc, %eax
andl $0xf, %eax
movl %esi, %r15d
shrl $0x12... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeVLD2DupInstruction | static DecodeStatus DecodeVLD2DupInstruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn, Rm, align, size;
unsigned Rd = fieldFromInstruction_4(Insn, 12, 4);
Rd |= fieldFromInstruction_4(Insn, 22, 1) << 4;
Rn = fieldFromInstruction_4(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %eax
shrl $0xc, %eax
andl $0xf, %eax
movl %esi, %r14d
shrl $0x12, %r14d
andl $0x10, %r14d
orl %eax, %r14d
movl %ebp, %ecx
shrb $0x6, %cl
pushq $0x2
popq %r13
shll %cl, %r13d
callq 0x44a14
addl $0xffff... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeThumbAddrModeRR | static DecodeStatus DecodeThumbAddrModeRR(MCInst *Inst, unsigned Val,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn = fieldFromInstruction_4(Val, 0, 3);
unsigned Rm = fieldFromInstruction_4(Val, 3, 3);
if (!Check(&S, DecodetGPRRegisterClass(Inst, Rn, Address, Deco... | pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %r14
andl $0x7, %esi
callq 0x528fc
movl %eax, %ebx
xorl %eax, %eax
movl %ebx, %ecx
orl $0x2, %ecx
cmpl $0x3, %ecx
jne 0x52a0a
shrl $0x3, %ebp
andl $0x7, %ebp
movq %r14, %rdi
movl %ebp, %esi
callq 0x528fc
movl %eax, %ecx
leaq 0x799e5(%rip), %rdx # 0xcc3e0
m... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeThumbAddrModeIS | static DecodeStatus DecodeThumbAddrModeIS(MCInst *Inst, unsigned Val,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn = fieldFromInstruction_4(Val, 0, 3);
unsigned imm = fieldFromInstruction_4(Val, 3, 5);
if (!Check(&S, DecodetGPRRegisterClass(Inst, Rn, Address, Dec... | pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebx
movq %rdi, %r14
andl $0x7, %esi
callq 0x528fc
movl %eax, %ebp
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x52a3d
shrl $0x3, %ebx
andl $0x1f, %ebx
movq %r14, %rdi
movq %rbx, %rsi
callq 0x44ace
jmp 0x52a3f
xorl %ebp, %ebp
movl %ebp, %eax
popq %rbx
popq %r14
popq %rbp
retq
| /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeThumbAddSpecialReg | static DecodeStatus DecodeThumbAddSpecialReg(MCInst *Inst, uint16_t Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned dst = fieldFromInstruction_2(Insn, 8, 3);
unsigned imm = fieldFromInstruction_2(Insn, 0, 8);
if (!Check(&S, DecodetGPRRegisterClass(Inst, dst, Addr... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
shrl $0x8, %esi
andl $0x7, %esi
callq 0x528fc
movl %eax, %r14d
xorl %r15d, %r15d
orl $0x2, %eax
cmpl $0x3, %eax
jne 0x52ac0
movq %rbx, %rdi
callq 0x44a14
cmpl $0xa88, %eax # imm = 0xA88
je 0x52aae
cmpl $0xa82, %eax ... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeThumbBLTargetOperand | static DecodeStatus DecodeThumbBLTargetOperand(MCInst *Inst, unsigned Val,
uint64_t Address, const void *Decoder)
{
// Val is passed in as S:J1:J2:imm10:imm11
// Note no trailing zero after imm11. Also the J1 and J2 values are from
// the encoded instruction. So here change to I1 and I2 values via:
// I1 = NOT(... | movl %esi, %eax
shrl %eax
xorl %esi, %eax
movl %esi, %ecx
shrl $0x2, %ecx
xorl %esi, %ecx
andl $0x9fffff, %esi # imm = 0x9FFFFF
andl $0x400000, %eax # imm = 0x400000
orl %esi, %eax
andl $0x200000, %ecx # imm = 0x200000
orl %eax, %ecx
shll $0x8, %ecx
sarl $0x7, %ecx
xorl $0xc00000, %ecx #... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeThumbTableBranch | static DecodeStatus DecodeThumbTableBranch(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
unsigned Rm = fieldFromInstruction_4(Insn, 0, 4);
if (Rn == ARM_SP) S = MCDisassembler_SoftFail;
if (!Chec... | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movl %esi, %ebp
movq %rdi, %r14
shrl $0x10, %esi
andl $0xf, %esi
xorl %r15d, %r15d
cmpl $0xc, %esi
setne %r12b
callq 0x4f54f
xorl %ebx, %ebx
cmpl $0x3, %eax
je 0x52c93
cmpl $0x1, %eax
jne 0x52cc1
pushq $0x1
popq %rbx
jmp 0x52c9e
movb %r12b, %r15b
leal 0x1(,%r15,2),... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2Imm8S4 | static DecodeStatus DecodeT2Imm8S4(MCInst *Inst, unsigned Val,
uint64_t Address, const void *Decoder)
{
if (Val == 0)
MCOperand_CreateImm0(Inst, INT32_MIN);
else {
int imm = Val & 0xFF;
if (!(Val & 0x100)) imm *= -1;
MCOperand_CreateImm0(Inst, imm * 4);
}
return MCDisassembler_Success;
} | testl %esi, %esi
je 0x52cea
movzbl %sil, %eax
movl %eax, %ecx
negl %ecx
btl $0x8, %esi
cmovbl %eax, %ecx
shll $0x2, %ecx
movslq %ecx, %rsi
jmp 0x44ace
movq $-0x80000000, %rsi # imm = 0x80000000
jmp 0x44ace
| /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2STRDPreInstruction | static DecodeStatus DecodeT2STRDPreInstruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rt = fieldFromInstruction_4(Insn, 12, 4);
unsigned Rt2 = fieldFromInstruction_4(Insn, 8, 4);
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
u... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r13d
shrl $0xc, %r13d
andl $0xf, %r13d
movl %esi, %r12d
shrl $0x8, %r12d
andl $0xf, %r12d
movl %esi, %r14d
shrl $0x10, %r14d
andl $0xf, %r14d
movl %esi, %eax
andl $0x1200000, %eax # imm = 0x12... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2SOImm | static DecodeStatus DecodeT2SOImm(MCInst *Inst, unsigned Val,
uint64_t Address, const void *Decoder)
{
unsigned ctrl = fieldFromInstruction_4(Val, 10, 2);
if (ctrl == 0) {
unsigned byte = fieldFromInstruction_4(Val, 8, 2);
unsigned imm = fieldFromInstruction_4(Val, 0, 8);
switch (byte) {
case 0:
MCOper... | testw $0xc00, %si # imm = 0xC00
je 0x52f23
movl %esi, %eax
orl $0x80, %eax
movzbl %al, %eax
shrl $0x7, %esi
movl %esi, %ecx
rorl %cl, %eax
movl %eax, %esi
jmp 0x44ace
movl %esi, %ecx
shrl $0x8, %ecx
andl $0x3, %ecx
movzbl %sil, %eax
leaq 0x794ba(%rip), %rdx # 0xcc3f0
movslq (%rdx,%rcx,4), %rcx
addq %rdx... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2CPSInstruction | static DecodeStatus DecodeT2CPSInstruction(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
unsigned imod = fieldFromInstruction_4(Insn, 9, 2);
unsigned M = fieldFromInstruction_4(Insn, 8, 1);
unsigned iflags = fieldFromInstruction_4(Insn, 5, 3);
unsigned mode = fieldFromInstruction_4(Insn, 0... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r15d
shrl $0x9, %r15d
andl $0x3, %r15d
xorl %eax, %eax
cmpl $0x1, %r15d
je 0x53119
movq %rdi, %rbx
movl %esi, %r14d
shrl $0x5, %r14d
andl $0x7, %r14d
movl %esi, %ebp
andl $0x1f, %ebp
testl %r15d, %r15d
sete %cl
btl $0x8, %esi
setae %dl
orb %cl, %dl
jne ... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2AddrModeImm8 | static DecodeStatus DecodeT2AddrModeImm8(MCInst *Inst, unsigned Val,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn = fieldFromInstruction_4(Val, 9, 4);
unsigned imm = fieldFromInstruction_4(Val, 0, 9);
// Thumb stores cannot use PC as dest register.
switch (MCIns... | pushq %rbp
pushq %r14
pushq %rbx
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r14d
shrl $0x9, %r14d
andl $0xf, %r14d
callq 0x44a14
addl $0xfffff5d9, %eax # imm = 0xFFFFF5D9
cmpl $0x1a, %eax
ja 0x5348e
movl $0x4284021, %ecx # imm = 0x4284021
btl %eax, %ecx
jae 0x5348e
cmpl $0xf, %r14d
je 0x5350d
andl $0x1ff,... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2LoadShift | static DecodeStatus DecodeT2LoadShift(MCInst *Inst, unsigned Insn,
uint64_t Address, const void *Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned addrmode;
unsigned Rt = fieldFromInstruction_4(Insn, 12, 4);
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
if (Rn == 15) {
switch (MCInst_getOpcode... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %r14d
movq %rdi, %rbx
movl %esi, %ebp
shrl $0x10, %ebp
andl $0xf, %ebp
cmpl $0xf, %ebp
jne 0x535f7
movq %rbx, %rdi
callq 0x44a14
cmpl $0x949, %eax # imm = 0x949
je 0x536bf
cmpl $0x9b4, %eax # imm = 0x9B4
je 0x536cd
cmpl $0x960, %eax... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2LoadT | static DecodeStatus DecodeT2LoadT(MCInst *Inst, unsigned Insn,
uint64_t Address, const void* Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rn = fieldFromInstruction_4(Insn, 16, 4);
unsigned Rt = fieldFromInstruction_4(Insn, 12, 4);
unsigned imm = fieldFromInstruction_4(Insn, 0, 8);
imm |= (Rn << ... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r14d
shrl $0x10, %r14d
andl $0xf, %r14d
cmpl $0xf, %r14d
jne 0x538a8
movq %rbx, %rdi
callq 0x44a14
cmpl $0x969, %eax # imm = 0x969
je 0x53913
movl %eax, %ecx
cmpl $0x951, %eax # imm = 0x951
je 0x538f... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
DecodeT2LoadLabel | static DecodeStatus DecodeT2LoadLabel(MCInst *Inst, unsigned Insn,
uint64_t Address, const void* Decoder)
{
DecodeStatus S = MCDisassembler_Success;
unsigned Rt = fieldFromInstruction_4(Insn, 12, 4);
unsigned U = fieldFromInstruction_4(Insn, 23, 1);
int imm = fieldFromInstruction_4(Insn, 0, 12);
if (Rt == 15) ... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebp
movq %rdi, %rbx
movl %esi, %r14d
shrl $0xc, %r14d
andl $0xf, %r14d
cmpl $0xf, %r14d
jne 0x53aef
movq %rbx, %rdi
callq 0x44a14
movl $0x9af, %esi # imm = 0x9AF
cmpl $0x947, %eax # imm = 0x947
je 0x53ae7
cmpl $0x956, %eax ... | /bughoho[P]capstone/arch/ARM/ARMDisassembler.c |
ARM_printInst | void ARM_printInst(MCInst *MI, SStream *O, void *Info)
{
MCRegisterInfo *MRI = (MCRegisterInfo *)Info;
unsigned Opcode = MCInst_getOpcode(MI), tmp, i, pubOpcode;
switch(Opcode) {
// Check for HINT instructions w/ canonical names.
case ARM_HINT:
case ARM_tHINT:
case ARM_t2HINT:
switch (MCOperand_getImm(M... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x338, %rsp # imm = 0x338
movq %rdx, %r15
movq %rsi, %r14
movq %rdi, %rbx
callq 0x44a14
movl %eax, %ebp
cmpl $0x6f, %eax
je 0x5b639
cmpl $0x7b, %ebp
je 0x5b677
cmpl $0x94, %ebp
je 0x5b76d
cmpl $0xa5, %ebp
je 0x5b677
cmpl $0xbc, %ebp
je 0... | /bughoho[P]capstone/arch/ARM/ARMInstPrinter.c |
printSBitModifierOperand | static void printSBitModifierOperand(MCInst *MI, unsigned OpNum, SStream *O)
{
if (MCOperand_getReg(MCInst_getOperand(MI, OpNum))) {
//assert(MCOperand_getReg(MCInst_getOperand(MI, OpNum)) == ARM_CPSR &&
// "Expect ARM CPSR register!");
SStream_concat0(O, "s");
if (MI->csh->detail)
MI->flat_insn->deta... | pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %r14
movq %rdi, %rbx
callq 0x44a1b
movq %rax, %rdi
callq 0x44a6e
testl %eax, %eax
je 0x60358
leaq 0x611b1(%rip), %rsi # 0xc14e2
movq %r14, %rdi
callq 0x44af3
movq 0x320(%rbx), %rax
cmpl $0x0, 0x68(%rax)
je 0x60358
movq 0x310(%rbx), %rax
movq 0xe8(%rax), %rax
movb $0x1, 0x... | /bughoho[P]capstone/arch/ARM/ARMInstPrinter.c |
printAddrModeImm12Operand | static void printAddrModeImm12Operand(MCInst *MI, unsigned OpNum,
SStream *O, bool AlwaysPrintImm0)
{
MCOperand *MO1 = MCInst_getOperand(MI, OpNum);
MCOperand *MO2 = MCInst_getOperand(MI, OpNum+1);
int32_t OffImm;
bool isSub;
if (!MCOperand_isReg(MO1)) { // FIXME: This is for CP entries, but isn't right.
pr... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, %ebp
movq %rdx, %r14
movl %esi, %r13d
movq %rdi, %rbx
callq 0x44a1b
movq %rax, %r12
leal 0x1(%r13), %esi
movq %rbx, %rdi
callq 0x44a1b
movq %rax, %r15
movq %r12, %rdi
callq 0x44a56
testb %al, %al
je 0x60cbb
leaq 0x7c80b(%rip), %rsi ... | /bughoho[P]capstone/arch/ARM/ARMInstPrinter.c |
printFBits16 | static void printFBits16(MCInst *MI, unsigned OpNum, SStream *O)
{
unsigned tmp;
tmp = 16 - (unsigned int)MCOperand_getImm(MCInst_getOperand(MI, OpNum));
if (tmp > HEX_THRESHOLD)
SStream_concat(O, "#0x%x", tmp);
else
SStream_concat(O, "#%u", tmp);
if (MI->csh->detail) {
MI->flat_insn->detail->arm.operands[M... | pushq %rbp
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
pushq $0x2
popq %rsi
callq 0x44a1b
movq %rax, %rdi
callq 0x44a76
pushq $0x10
popq %rbp
subl %eax, %ebp
cmpl $0xa, %ebp
leaq 0x73758(%rip), %rax # 0xd47aa
leaq 0x73759(%rip), %rsi # 0xd47b2
cmovaeq %rax, %rsi
movq %r14, %rdi
movl %ebp, %edx
xorl %e... | /bughoho[P]capstone/arch/ARM/ARMInstPrinter.c |
printAlignedLabel | static void printAlignedLabel(MCInst *MI, unsigned OpNum, SStream *O)
{
MCOperand *Op = MCInst_getOperand(MI, OpNum);
// If the label has already been resolved to an immediate offset (say, when
// we're running the disassembler), just print the immediate.
if (MCOperand_isImm(Op)) {
uint64_t imm = (MCOperand_getI... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
callq 0x44a1b
movq %rax, %r15
movq %rax, %rdi
callq 0x44a5e
testb %al, %al
je 0x82ee5
movq %r15, %rdi
callq 0x44a76
movq %rax, %r15
shlq $0x2, %r15
addq 0x318(%rbx), %r15
movq %r14, %rdi
movq %r15, %rsi
callq 0x44c2b
movq 0x320(%rbx), %rax
cmpl $0x0, 0x68... | /bughoho[P]capstone/arch/AArch64/AArch64InstPrinter.c |
Mips64_getInstruction | static DecodeStatus Mips64Disassembler_getInstruction(int mode, MCInst *instr,
const uint8_t *code, size_t code_len,
uint16_t *Size,
uint64_t Address, bool isBigEndian, MCRegisterInfo *MRI)
{
uint32_t Insn;
DecodeStatus Result;
if (code_len < 4)
// not enough data
return MCDisassembler_Fail;
if (instr->... | cmpq $0x4, %rdx
jae 0x844bd
xorl %eax, %eax
retq
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r14
movq %rcx, %r15
movq %rsi, %r13
movq %r8, 0x10(%rsp)
movl 0x4(%rdi), %ebp
movb 0x28(%rdi), %bl
movq 0x310(%rcx), %rax
movq 0xe8(%rax), %rdi
testq %rdi, %rdi
je 0x8450e
movl ... | /bughoho[P]capstone/arch/Mips/MipsDisassembler.c |
DecodeACC64DSPRegisterClass | static DecodeStatus DecodeACC64DSPRegisterClass(MCInst *Inst,
unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
unsigned Reg;
if (RegNo >= 4)
return MCDisassembler_Fail;
Reg = getReg(Decoder, Mips_ACC64DSPRegClassID, RegNo);
MCOperand_CreateReg0(Inst, Reg);
return MCDisassembler_Success;
} | xorl %eax, %eax
cmpl $0x3, %esi
ja 0x88663
pushq %rbx
movl %esi, %ecx
movq %rdi, %rbx
pushq $0x22
popq %rsi
movq %rdx, %rdi
movl %ecx, %edx
callq 0x8886d
movq %rbx, %rdi
movl %eax, %esi
callq 0x44aa1
pushq $0x3
popq %rax
popq %rbx
retq
| /bughoho[P]capstone/arch/Mips/MipsDisassembler.c |
DecodeFGR32RegisterClass | static DecodeStatus DecodeFGR32RegisterClass(MCInst *Inst,
unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
unsigned Reg;
if (RegNo > 31)
return MCDisassembler_Fail;
Reg = getReg(Decoder, Mips_FGR32RegClassID, RegNo);
MCOperand_CreateReg0(Inst, Reg);
return MCDisassembler_Success;
} | xorl %eax, %eax
cmpl $0x1f, %esi
ja 0x886b5
pushq %rbx
movl %esi, %ecx
movq %rdi, %rbx
pushq $0x5
popq %rsi
movq %rdx, %rdi
movl %ecx, %edx
callq 0x8886d
movq %rbx, %rdi
movl %eax, %esi
callq 0x44aa1
pushq $0x3
popq %rax
popq %rbx
retq
| /bughoho[P]capstone/arch/Mips/MipsDisassembler.c |
DecodeAFGR64RegisterClass | static DecodeStatus DecodeAFGR64RegisterClass(MCInst *Inst,
unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
unsigned Reg;
if (RegNo > 30 || RegNo % 2)
return MCDisassembler_Fail;
Reg = getReg(Decoder, Mips_AFGR64RegClassID, RegNo /2);
MCOperand_CreateReg0(Inst, Reg);
return MCDisassembler_Succe... | pushq %rbx
movl %esi, %ecx
movq %rdi, %rbx
cmpl $0x1f, %esi
setae %sil
xorl %eax, %eax
movl %ecx, %edi
orb %sil, %dil
testb $0x1, %dil
jne 0x8873e
shrl %ecx
pushq $0x1d
popq %rsi
movq %rdx, %rdi
movl %ecx, %edx
callq 0x8886d
movq %rbx, %rdi
movl %eax, %esi
callq 0x44aa1
pushq $0x3
popq %rax
popq %rbx
retq
| /bughoho[P]capstone/arch/Mips/MipsDisassembler.c |
DecodeMSA128DRegisterClass | static DecodeStatus DecodeMSA128DRegisterClass(MCInst *Inst,
unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
unsigned Reg;
if (RegNo > 31)
return MCDisassembler_Fail;
Reg = getReg(Decoder, Mips_MSA128DRegClassID, RegNo);
MCOperand_CreateReg0(Inst, Reg);
return MCDisassembler_Success;
} | xorl %eax, %eax
cmpl $0x1f, %esi
ja 0x887db
pushq %rbx
movl %esi, %edx
movq %rdi, %rbx
pushq $0x2b
popq %rsi
movq %rcx, %rdi
callq 0x8886d
movq %rbx, %rdi
movl %eax, %esi
callq 0x44aa1
pushq $0x3
popq %rax
popq %rbx
retq
| /bughoho[P]capstone/arch/Mips/MipsDisassembler.c |
DecodeMSACtrlRegisterClass | static DecodeStatus DecodeMSACtrlRegisterClass(MCInst *Inst,
unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
unsigned Reg;
if (RegNo > 7)
return MCDisassembler_Fail;
Reg = getReg(Decoder, Mips_MSACtrlRegClassID, RegNo);
MCOperand_CreateReg0(Inst, Reg);
return MCDisassembler_Success;
} | xorl %eax, %eax
cmpl $0x7, %esi
ja 0x8881a
pushq %rbx
movl %esi, %ecx
movq %rdi, %rbx
pushq $0x12
popq %rsi
movq %rdx, %rdi
movl %ecx, %edx
callq 0x8886d
movq %rbx, %rdi
movl %eax, %esi
callq 0x44aa1
pushq $0x3
popq %rax
popq %rbx
retq
| /bughoho[P]capstone/arch/Mips/MipsDisassembler.c |
DecodeCOP2RegisterClass | static DecodeStatus DecodeCOP2RegisterClass(MCInst *Inst,
unsigned RegNo, uint64_t Address, MCRegisterInfo *Decoder)
{
unsigned Reg;
if (RegNo > 31)
return MCDisassembler_Fail;
Reg = getReg(Decoder, Mips_COP2RegClassID, RegNo);
MCOperand_CreateReg0(Inst, Reg);
return MCDisassembler_Success;
} | xorl %eax, %eax
cmpl $0x1f, %esi
ja 0x8886c
pushq %rbx
movl %esi, %ecx
movq %rdi, %rbx
pushq $0x2
popq %rsi
movq %rdx, %rdi
movl %ecx, %edx
callq 0x8886d
movq %rbx, %rdi
movl %eax, %esi
callq 0x44aa1
pushq $0x3
popq %rax
popq %rbx
retq
| /bughoho[P]capstone/arch/Mips/MipsDisassembler.c |
Mips_printInst | void Mips_printInst(MCInst *MI, SStream *O, void *info)
{
char *mnem;
switch (MCInst_getOpcode(MI)) {
default: break;
case Mips_Save16:
case Mips_SaveX16:
case Mips_Restore16:
case Mips_RestoreX16:
return;
}
// Try to print any aliases first.
mnem = printAliasInstr(MI, O, info);
if (!mnem) {
mnem... | pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movq %rdx, %r15
movq %rsi, %rbx
movq %rdi, %r14
callq 0x44a14
leal -0x547(%rax), %ecx
cmpl $0x2, %ecx
jb 0x888b0
addl $0xfffff9bf, %eax # imm = 0xFFFFF9BF
cmpl $0x2, %eax
jae 0x888ba
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %r14, %rdi
callq... | /bughoho[P]capstone/arch/Mips/MipsInstPrinter.c |
printOperand | static void printOperand(MCInst *MI, unsigned OpNo, SStream *O)
{
MCOperand *Op;
if (OpNo >= MI->size)
return;
Op = MCInst_getOperand(MI, OpNo);
if (MCOperand_isReg(Op)) {
unsigned int reg = MCOperand_getReg(Op);
printRegName(O, reg);
reg = Mips_map_register(reg);
if (MI->csh->detail) {
if (MI->csh->... | movzbl 0x4(%rdi), %eax
cmpl %esi, %eax
jbe 0x8a6a8
pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r15
movq %rdi, %rbx
callq 0x44a1b
movq %rax, %r14
movq %rax, %rdi
callq 0x44a56
testb %al, %al
je 0x8a526
movq %r14, %rdi
callq 0x44a6e
movl %eax, %r14d
leal -0x1(%r14), %eax
leaq 0x55e4a(%rip), %rcx # 0xe0310
movl (%rcx... | /bughoho[P]capstone/arch/Mips/MipsInstPrinter.c |
printMemOperand | static void printMemOperand(MCInst *MI, int opNum, SStream *O)
{
// Load/Store memory operands -- imm($reg)
// If PIC target the target is loaded as the
// pattern lw $25,%call16($28)
set_mem_access(MI, true);
printOperand(MI, opNum + 1, O);
SStream_concat0(O, "(");
printOperand(MI, opNum, O);
SStream_concat0(O... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movl %esi, %r15d
movq %rdi, %rbx
pushq $0x1
popq %rsi
callq 0x8a8da
leal 0x1(%r15), %esi
movq %rbx, %rdi
movq %r14, %rdx
callq 0x8a485
leaq 0x40c23(%rip), %rsi # 0xcb3f7
movq %r14, %rdi
callq 0x44af3
movq %rbx, %rdi
movl %r15d, %esi
movq %r14, %rdx
callq 0x8a485
leaq... | /bughoho[P]capstone/arch/Mips/MipsInstPrinter.c |
Mips_get_insn_id | void Mips_get_insn_id(cs_struct *h, cs_insn *insn, unsigned int id)
{
unsigned int i;
i = insn_find(insns, ARR_SIZE(insns), id, &h->insn_cache);
if (i != 0) {
insn->id = insns[i].mapid;
if (h->detail) {
#ifndef CAPSTONE_DIET
memcpy(insn->detail->regs_read, insns[i].regs_use, sizeof(insns[i].regs_use));
i... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r15
leaq 0x78(%rdi), %rcx
leaq 0x17fb20(%rip), %r14 # 0x20a4a0
movq %r14, %rdi
movl $0x5dc, %esi # imm = 0x5DC
callq 0x47c04
testw %ax, %ax
je 0x8aa39
movzwl %ax, %eax
imulq $0x2e, %rax, %rax
movzwl 0x2(%rax,%r14), %ecx
movl %ecx, (%rbx)
cmpl $0... | /bughoho[P]capstone/arch/Mips/MipsMapping.c |
PPC_getInstruction | bool PPC_getInstruction(csh ud, const uint8_t *code, size_t code_len,
MCInst *instr, uint16_t *size, uint64_t address, void *info)
{
DecodeStatus status = getInstruction(instr,
code, code_len,
size,
address, (MCRegisterInfo *)info);
return status == MCDisassembler_Success;
} | xorl %edi, %edi
movl $0x0, %eax
cmpq $0x4, %rdx
jb 0x8ad09
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq 0x320(%rcx), %rax
cmpl $0x0, 0x4(%rax)
movq %r8, 0x20(%rsp)
js 0x8aafd
movl (%rsi), %eax
jmp 0x8ab01
movl (%rsi), %eax
bswapl %eax
movl %eax, 0xc(%rsp)
movq %rcx, 0x18(%rsp)... | /bughoho[P]capstone/arch/PowerPC/PPCDisassembler.c |
PPC_printInst | void PPC_printInst(MCInst *MI, SStream *O, void *Info)
{
char *mnem;
// Check for slwi/srwi mnemonics.
if (MCInst_getOpcode(MI) == PPC_RLWINM) {
unsigned char SH = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 2));
unsigned char MB = (unsigned char)MCOperand_getImm(MCInst_getOperand(MI, 3));
unsigned ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x218, %rsp # imm = 0x218
movq %rdx, 0x8(%rsp)
movq %rsi, (%rsp)
movq %rdi, %rbx
callq 0x44a14
cmpl $0x311, %eax # imm = 0x311
jne 0x8c1b8
pushq $0x2
popq %rsi
movq %rbx, %rdi
callq 0x44a1b
movq %rax, %rdi
callq 0x44a76
movq %... | /bughoho[P]capstone/arch/PowerPC/PPCInstPrinter.c |
X86_getInstruction | bool X86_getInstruction(csh ud, const uint8_t *code, size_t code_len,
MCInst *instr, uint16_t *size, uint64_t address, void *_info)
{
cs_struct *handle = (cs_struct *)(uintptr_t)ud;
InternalInstruction insn;
struct reader_info info;
int ret;
bool result;
info.code = code;
info.size = code_len;
info.offset = ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x168, %rsp # imm = 0x168
movq %r9, %r12
movq %r8, %r15
movq %rcx, %rbx
movq %rdi, %r14
movq %rsi, 0x150(%rsp)
movq %rdx, 0x158(%rsp)
movq %r9, 0x160(%rsp)
leaq 0x8(%rsp), %rdi
xorl %ebp, %ebp
movl $0x98, %edx
xorl %esi, %esi
callq 0x430... | /bughoho[P]capstone/arch/X86/X86Disassembler.c |
translateRegister | static void translateRegister(MCInst *mcInst, Reg reg)
{
#define ENTRY(x) X86_##x,
uint8_t llvmRegnums[] = {
ALL_REGS
0
};
#undef ENTRY
uint8_t llvmRegnum = llvmRegnums[reg];
MCOperand_CreateReg0(mcInst, llvmRegnum);
} | movl %esi, %eax
leaq 0x4be54(%rip), %rcx # 0xea8d0
movzbl (%rax,%rcx), %esi
jmp 0x44aa1
nopl (%rax)
| /bughoho[P]capstone/arch/X86/X86Disassembler.c |
fixupReg | static int fixupReg(struct InternalInstruction *insn,
const struct OperandSpecifier *op)
{
uint8_t valid;
// dbgprintf(insn, "fixupReg()");
switch ((OperandEncoding)op->encoding) {
default:
//debug("Expected a REG or R/M encoding in fixupReg");
return -1;
case ENCODING_VVVV:
insn->vvvv = (Reg)fixupR... | pushq %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
movzbl (%rsi), %eax
pushq $-0x1
popq %rbp
leal -0x2(%rax), %ecx
cmpl $0x7, %ecx
jae 0xa0633
movl 0x130(%rbx), %ecx
movl %ecx, %eax
subl 0x128(%rbx), %eax
jb 0xa0777
movzbl 0x1(%rsi), %edx
leal -0x39(%rdx), %esi
cmpl $0x15, %esi
ja 0xa06a2
leaq 0x4a528(%r... | /bughoho[P]capstone/arch/X86/X86DisassemblerDecoder.c |
printAVXCC | static void printAVXCC(MCInst *MI, unsigned Op, SStream *O)
{
int64_t Imm = MCOperand_getImm(MCInst_getOperand(MI, Op)) & 0x1f;
switch (Imm) {
default: break;//printf("Invalid avxcc argument!\n"); break;
case 0: SStream_concat0(O, "eq"); op_addAvxCC(MI, X86_AVX_CC_EQ); break;
case 1: SStream_concat0(O, "l... | pushq %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rdi, %r14
callq 0x44a1b
movq %rax, %rdi
callq 0x44a76
andl $0x1f, %eax
leaq 0xa39ec(%rip), %rcx # 0x1464e0
movslq (%rcx,%rax,4), %rsi
addq %rcx, %rsi
leal 0x1(%rax), %ebp
movq %rbx, %rdi
callq 0x44af3
movq %r14, %rdi
movl %ebp, %esi
popq %rbx
popq %r14
popq %rb... | /bughoho[P]capstone/arch/X86/X86IntelInstPrinter.c |
printOperand | static void printOperand(MCInst *MI, int opNum, SStream *O)
{
int Imm;
unsigned reg;
MCOperand *MO = MCInst_getOperand(MI, opNum);
if (MCOperand_isReg(MO)) {
reg = MCOperand_getReg(MO);
printRegName(O, reg);
reg = Sparc_map_register(reg);
if (MI->csh->detail) {
if (MI->csh->doing_mem) {
if (MI->fla... | pushq %r15
pushq %r14
pushq %rbx
movq %rdx, %r14
movq %rdi, %rbx
callq 0x44a1b
movq %rax, %r15
movq %rax, %rdi
callq 0x44a56
testb %al, %al
je 0xb9fdf
movq %r15, %rdi
callq 0x44a6e
movl %eax, %r15d
leaq 0x91d51(%rip), %rsi # 0x14bcbb
movq %r14, %rdi
callq 0x44af3
leal -0x1(%r15), %eax
leaq 0x8fac3(%rip), %rcx #... | /bughoho[P]capstone/arch/Sparc/SparcInstPrinter.c |
SystemZ_group_name | const char *SystemZ_group_name(csh handle, unsigned int id)
{
#ifndef CAPSTONE_DIET
// verify group id
if (id >= SYSZ_GRP_ENDING || (id > SYSZ_GRP_JUMP && id < SYSZ_GRP_DISTINCTOPS))
return NULL;
// NOTE: when new generic groups are added, 2 must be changed accordingly
if (id >= 128)
return group_name_maps[id ... | cmpl $0x85, %esi
setae %al
leal -0x2(%rsi), %ecx
cmpl $0x7e, %ecx
setb %cl
orb %al, %cl
je 0xbd9d0
xorl %eax, %eax
retq
leal -0x7e(%rsi), %eax
cmpl $0x7f, %esi
cmovbel %esi, %eax
shlq $0x4, %rax
leaq 0xdfccc(%rip), %rcx # 0x19d6b0
movq 0x8(%rax,%rcx), %rax
retq
| /bughoho[P]capstone/arch/SystemZ/SystemZMapping.c |
SystemZ_map_register | sysz_reg SystemZ_map_register(unsigned int r)
{
static unsigned int map[] = { 0,
SYSZ_REG_CC, SYSZ_REG_F0, SYSZ_REG_F1, SYSZ_REG_F2, SYSZ_REG_F3,
SYSZ_REG_F4, SYSZ_REG_F5, SYSZ_REG_F6, SYSZ_REG_F7, SYSZ_REG_F8,
SYSZ_REG_F9, SYSZ_REG_F10, SYSZ_REG_F11, SYSZ_REG_F12, SYSZ_REG_F13,
SYSZ_REG_F14, SYSZ_REG_F15, SYS... | xorl %eax, %eax
cmpl $0x61, %edi
ja 0xbd9fd
movl %edi, %eax
leaq 0x90156(%rip), %rcx # 0x14db50
movl (%rcx,%rax,4), %eax
retq
nop
| /bughoho[P]capstone/arch/SystemZ/SystemZMapping.c |
SystemZMC_getFirstReg | unsigned SystemZMC_getFirstReg(unsigned Reg)
{
static unsigned Map[SystemZ_NUM_TARGET_REGS];
static int Initialized = 0;
unsigned I;
if (!Initialized) {
Initialized = 1;
for (I = 0; I < 16; ++I) {
Map[SystemZMC_GR32Regs[I]] = I;
Map[SystemZMC_GRH32Regs[I]] = I;
Map[SystemZMC_GR64Regs[I]] = I;
Map[S... | cmpb $0x0, 0x1d63d1(%rip) # 0x293dd8
jne 0xbdaa2
pushq %r15
pushq %r14
pushq %rbx
movb $0x1, 0x1d63bf(%rip) # 0x293dd8
xorl %eax, %eax
leaq 0x90f6e(%rip), %rcx # 0x14e990
leaq 0x1d6227(%rip), %rdx # 0x293c50
leaq 0x90fa0(%rip), %rsi # 0x14e9d0
leaq 0x90fd9(%rip), %r8 # 0x14ea10
leaq 0x91012(%rip),... | /bughoho[P]capstone/arch/SystemZ/SystemZMCTargetDesc.c |
XCore_init | void XCore_init(MCRegisterInfo *MRI)
{
/*
InitMCRegisterInfo(XCoreRegDesc, 17, RA, PC,
XCoreMCRegisterClasses, 2,
XCoreRegUnitRoots,
16,
XCoreRegDiffLists,
XCoreRegStrings,
XCoreSubRegIdxLists,
1,
XCoreSubRegIdxRanges,
XCoreRegEncodingTable);
*/
MCRegisterInfo_InitMCRegisterInfo(MRI, XC... | subq $0x48, %rsp
andq $0x0, 0x38(%rsp)
leaq 0x1d58f7(%rip), %rax # 0x293dda
andq $0x0, 0x20(%rsp)
movq %rax, 0x28(%rsp)
andl $0x0, 0x10(%rsp)
leaq 0x1d1cf6(%rip), %rax # 0x2901f0
andq $0x0, 0x8(%rsp)
movq %rax, 0x18(%rsp)
movl $0x1, 0x30(%rsp)
movl $0x2, (%rsp)
leaq 0x1d1b25(%rip), %rsi # 0x290040
leaq 0x1d1c7... | /bughoho[P]capstone/arch/XCore/XCoreDisassembler.c |
decodeULEB128 | static inline uint64_t decodeULEB128(const uint8_t *p, unsigned *n)
{
const uint8_t *orig_p = p;
uint64_t Value = 0;
unsigned Shift = 0;
do {
Value += (*p & 0x7f) << Shift;
Shift += 7;
} while (*p++ >= 128);
if (n)
*n = (unsigned)(p - orig_p);
return Value;
} | xorl %edx, %edx
xorl %eax, %eax
xorl %ecx, %ecx
movzbl (%rdi,%rdx), %r8d
movl %r8d, %r9d
andl $0x7f, %r9d
shll %cl, %r9d
movslq %r9d, %r9
addq %r9, %rax
addl $0x7, %ecx
incq %rdx
testb %r8b, %r8b
js 0xbe53a
testq %rsi, %rsi
je 0xbe561
movl %edx, (%rsi)
retq
| /bughoho[P]capstone/arch/XCore/../../LEB128.h |
OpenMD::Mesh::getHydroProp(double) | virtual HydroProp* getHydroProp(RealType viscosity) {
HydroProp* props = new HydroProp();
props->setCenterOfResistance(V3Zero);
snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH,
"Mesh was asked to return an analytic HydroProps.\n");
painCave.severity = OPENMD_ERROR;
painCa... | pushq %r14
pushq %rbx
subq $0x18, %rsp
movl $0x280, %edi # imm = 0x280
callq 0x134d0
movq %rax, %rbx
movq %rax, %rdi
callq 0x6b228
leaq 0x103dd3(%rip), %rsi # 0x11ec28
movq %rsp, %r14
movq %r14, %rdi
callq 0x1b032
movq %rbx, %rdi
movq %r14, %rsi
callq 0x1afda
leaq 0x104232(%rip), %rax # 0x11f0a4
movups... | /OpenMD[P]OpenMD/src/hydrodynamics/Mesh.hpp |
rapidjson::GenericDocument<rapidjson::UTF8<char>, rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>, rapidjson::CrtAllocator>::GenericDocument(rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>*, unsigned long, rapidjson::CrtAllocator*) | GenericValue() RAPIDJSON_NOEXCEPT : data_() { data_.f.flags = kNullFlag; } | pushq %r15
pushq %r14
pushq %rbx
xorps %xmm0, %xmm0
movups %xmm0, (%rdi)
movq %rsi, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
movq %rcx, 0x20(%rdi)
movups %xmm0, 0x28(%rdi)
movups %xmm0, 0x38(%rdi)
movq %rdx, 0x48(%rdi)
andl $0x0, 0x50(%rdi)
andq $0x0, 0x58(%rdi)
testq %rsi, %rsi
jne 0x1b789
movq %rdi, %rbx
pushq $0x18
popq %rd... | /OpenMD[P]OpenMD/build_O2/_deps/rapidjson-src/include/rapidjson/document.h |
rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>::MemoryPoolAllocator(unsigned long, rapidjson::CrtAllocator*) | explicit
MemoryPoolAllocator(size_t chunkSize = kDefaultChunkCapacity, BaseAllocator* baseAllocator = 0) :
chunk_capacity_(chunkSize),
baseAllocator_(baseAllocator ? baseAllocator : RAPIDJSON_NEW(BaseAllocator)()),
shared_(static_cast<SharedData*>(baseAllocator_ ? baseAllocator_->Malloc(SIZ... | pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
movq %rsi, (%rdi)
testq %rdx, %rdx
je 0x1b7ca
xorl %r14d, %r14d
jmp 0x1b7d8
pushq $0x1
popq %rdi
callq 0x134d0
movq %rax, %r14
movq %rax, %rdx
movq %rdx, 0x8(%rbx)
pushq $0x38
popq %rdi
callq 0x136b0
movq %rax, 0x10(%rbx)
movq %r14, 0x8(%rax)
leaq 0x20(%rax), %rcx
movq %... | /OpenMD[P]OpenMD/build_O2/_deps/rapidjson-src/include/rapidjson/allocators.h |
stl_reader::stl_reader_impl::CoordWithIndex<double, unsigned int>::operator<(stl_reader::stl_reader_impl::CoordWithIndex<double, unsigned int> const&) const | bool operator < (const CoordWithIndex& c) const
{
return (data[0] < c[0])
|| (data[0] == c[0] && data[1] < c[1])
|| (data[0] == c[0] && data[1] == c[1] && data[2] < c[2]);
} | movsd (%rdi), %xmm0
movsd (%rsi), %xmm1
movb $0x1, %al
ucomisd %xmm0, %xmm1
ja 0x1dd25
ucomisd %xmm1, %xmm0
jne 0x1dd26
jp 0x1dd26
movsd 0x8(%rdi), %xmm0
movsd 0x8(%rsi), %xmm1
ucomisd %xmm0, %xmm1
ja 0x1dd25
ucomisd %xmm1, %xmm0
jne 0x1dd26
jp 0x1dd26
movsd 0x10(%rsi), %xmm0
ucomisd 0x10(%rdi), %xmm0
seta %al
retq
xor... | /OpenMD[P]OpenMD/build_O2/_deps/stl_reader-src/stl_reader.h |
cmdline_parser_file_save | int
cmdline_parser_file_save(const char *filename, struct gengetopt_args_info *args_info)
{
FILE *outfile;
int i = 0;
outfile = fopen(filename, "w");
if (!outfile)
{
fprintf (stderr, "%s: cannot open file for writing: %s\n", CMDLINE_PARSER_PACKAGE, filename);
return EXIT_FAILURE;
}
i = ... | pushq %r15
pushq %r14
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
leaq 0xae723(%rip), %rsi # 0xcd3fc
callq 0x135d0
testq %rax, %rax
je 0x1ed03
movq %rax, %r15
movq %rax, %rdi
movq %r14, %rsi
callq 0x1ea59
movl %eax, %ebx
movq %r15, %rdi
callq 0x134c0
movl %ebx, %eax
popq %rbx
popq %r14
popq %r15
retq
movq 0xff2ae(%r... | /OpenMD[P]OpenMD/src/applications/hydrodynamics/HydroCmd.cpp |
cmdline_parser_internal(int, char**, gengetopt_args_info*, cmdline_parser_params*, char const*) | int
cmdline_parser_internal (
int argc, char **argv, struct gengetopt_args_info *args_info,
struct cmdline_parser_params *params, const char *additional_error)
{
int c; /* Character of the parsed option. */
int error_occurred = 0;
struct gengetopt_args_info local_args_info;
int ov... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x2c8, %rsp # imm = 0x2C8
movq %rcx, %r15
movq %rdx, %rbx
movq %rsi, %r14
movl %edi, 0x8(%rsp)
movq (%rsi), %rax
movq %rax, 0xffe5b(%rip) # 0x11ecd8
movl (%rcx), %eax
movq %rax, 0x10(%rsp)
movl 0x8(%rcx), %eax
movl %eax, 0x54(%rsp)
m... | /OpenMD[P]OpenMD/src/applications/hydrodynamics/HydroCmd.cpp |
check_possible_values(char const*, char const**) | static int
check_possible_values(const char *val, const char *values[])
{
int i, found, last;
size_t len;
if (!val) /* otherwise strlen() crashes below */
return -1; /* -1 means no argument for the option */
found = last = 0;
for (i = 0, len = strlen(val); values[i]; ++i)
{
if (strncmp(val,... | testq %rdi, %rdi
je 0x1fd87
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rbx
movq %rdi, %r14
callq 0x13210
movq %rax, %r15
xorl %ebp, %ebp
xorl %r13d, %r13d
movl $0x0, 0x4(%rsp)
movq (%rbx,%rbp,8), %r12
testq %r12, %r12
je 0x1fd70
movq %r14, %rdi
movq %r12, %rsi
movq %r15, %r... | /OpenMD[P]OpenMD/src/applications/hydrodynamics/HydroCmd.cpp |
reset_group_input_file(gengetopt_args_info*) | static void
reset_group_input_file(struct gengetopt_args_info *args_info)
{
if (! args_info->input_file_group_counter)
return;
args_info->input_given = 0 ;
free_string_field (&(args_info->input_arg));
free_string_field (&(args_info->input_orig));
args_info->xyz_given = 0 ;
free_string_field (&(args_i... | cmpl $0x0, 0x134(%rdi)
je 0x1fe2c
pushq %rbx
movq %rdi, %rbx
andl $0x0, 0x100(%rdi)
addq $0x10, %rdi
callq 0x1fd9c
leaq 0x18(%rbx), %rdi
callq 0x1fd9c
andl $0x0, 0x104(%rbx)
leaq 0x28(%rbx), %rdi
callq 0x1fd9c
leaq 0x30(%rbx), %rdi
callq 0x1fd9c
andl $0x0, 0x108(%rbx)
leaq 0x40(%rbx), %rdi
callq 0x1fd9c
leaq 0x48(%rbx)... | /OpenMD[P]OpenMD/src/applications/hydrodynamics/HydroCmd.cpp |
update_arg(void*, char**, unsigned int*, unsigned int*, char*, char const**, char const*, cmdline_parser_arg_type, int, int, int, int, char const*, char, char const*) | static
int update_arg(void *field, char **orig_field,
unsigned int *field_given, unsigned int *prev_given,
char *value, const char *possible_values[],
const char *default_value,
cmdline_parser_arg_type arg_type,
int check_ambiguity, int overrid... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %r9, %r13
movq %r8, %rbx
movq %rcx, %r12
movq %rdx, %rbp
movq %rsi, 0x8(%rsp)
movq %rdi, %r15
movb 0x80(%rsp), %r14b
movq 0x78(%rsp), %rcx
andq $0x0, 0x10(%rsp)
testq %r12, %r12
je 0x1fe83
cmpl $0x0, (%r12)
jne 0x20011
cmpl $0x0, 0x... | /OpenMD[P]OpenMD/src/applications/hydrodynamics/HydroCmd.cpp |
gengetopt_strdup(char const*) | char *
gengetopt_strdup (const char *s)
{
char *result = 0;
if (!s)
return result;
result = (char*)malloc(strlen(s) + 1);
if (result == (char*)0)
return (char*)0;
strcpy(result, s);
return result;
} | pushq %rbx
testq %rdi, %rdi
je 0x200f6
movq %rdi, %rbx
callq 0x13210
leaq 0x1(%rax), %rdi
callq 0x136b0
testq %rax, %rax
je 0x200f6
movq %rax, %rdi
movq %rbx, %rsi
popq %rbx
jmp 0x13470
xorl %eax, %eax
popq %rbx
retq
| /OpenMD[P]OpenMD/src/applications/hydrodynamics/HydroCmd.cpp |
exchange(char**, custom_getopt_data*) | static void exchange(char **argv, struct custom_getopt_data *d)
{
int bottom = d->first_nonopt;
int middle = d->last_nonopt;
int top = d->custom_optind;
char *tem;
/*
* Exchange the shorter segment with the far end of the longer segment.
* That puts the shorter segment into the right place. It leaves the
*... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
movl 0xfebfe(%rip), %eax # 0x11ed08
movslq 0xfebff(%rip), %rdx # 0x11ed10
movl 0xfebd0(%rip), %r10d # 0x11ece8
leaq (%rdi,%rdx,8), %rsi
movl %edx, %r8d
negl %r8d
movl %r10d, -0x14(%rsp)
movl %eax, %r11d
movq %rdi, -0x8(%rsp)
movq %r8, -0x10(%r... | /OpenMD[P]OpenMD/src/applications/hydrodynamics/HydroCmd.cpp |
OpenMD::SimCreator::parseFile(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, int) | Globals* SimCreator::parseFile(std::istream& rawMetaDataStream,
const std::string& filename, int mdFileVersion,
int startOfMetaDataBlock) {
Globals* simParams = NULL;
try {
// Create a preprocessor that preprocesses md file into an ostrings... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x328, %rsp # imm = 0x328
movl %r8d, %ebp
movl %ecx, %ebx
movq %rdx, %r14
movq %rsi, %r15
leaq 0x118(%rsp), %rdi
callq 0x13350
leaq 0x128(%rsp), %r8
leaq 0xf(%rsp), %rdi
movq %r15, %rsi
movq %r14, %rdx
movl %ebp, %ecx
callq 0x222d0
leaq ... | /OpenMD[P]OpenMD/src/brains/SimCreator.cpp |
OpenMD::SimInfo::getMoleculeByGlobalIndex(int) | Molecule* getMoleculeByGlobalIndex(int index) {
MoleculeIterator i;
i = molecules_.find(index);
return i != molecules_.end() ? i->second : NULL;
} | pushq %rbx
subq $0x10, %rsp
movq %rdi, %rbx
leaq 0xc(%rsp), %rax
movl %esi, (%rax)
addq $0xa8, %rdi
movq %rax, %rsi
callq 0x250fe
addq $0xb0, %rbx
cmpq %rbx, %rax
je 0x225d0
movq 0x28(%rax), %rax
jmp 0x225d2
xorl %eax, %eax
addq $0x10, %rsp
popq %rbx
retq
| /OpenMD[P]OpenMD/src/brains/SimInfo.hpp |
antlr::CharScanner::append(char) | virtual void append(char c)
{
if (saveConsumedInput)
{
size_t l = text.length();
if ((l%256) == 0)
text.reserve(l+256);
text.replace(l,0,&c,1);
}
} | pushq %r14
pushq %rbx
pushq %rax
movb %sil, 0x7(%rsp)
cmpb $0x1, 0x28(%rdi)
jne 0x227a0
movq %rdi, %rbx
movq 0x10(%rdi), %r14
addq $0x8, %rbx
testb %r14b, %r14b
jne 0x2278a
leaq 0x100(%r14), %rsi
movq %rbx, %rdi
callq 0x137f0
leaq 0x7(%rsp), %rcx
pushq $0x1
popq %r8
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq... | /OpenMD[P]OpenMD/src/antlr/CharScanner.hpp |
antlr::CharScanner::match(char const*) | virtual void match( const char* s )
{
while( *s != '\0' )
{
// the & 0xFF is here to prevent sign extension lateron
int la_1 = LA(1), c = (*s++ & 0xFF);
if ( la_1 != c )
throw MismatchedCharException(la_1, c, false, this);
consume();
}
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
movq %rsi, %r14
movq %rdi, %rbx
pushq $0x1
popq %rbp
cmpb $0x0, (%r14)
je 0x22a51
movq (%rbx), %rax
movq %rbx, %rdi
movl %ebp, %esi
callq *0x18(%rax)
movzbl (%r14), %r12d
cmpl %r12d, %eax
jne 0x22a5a
incq %r14
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x40(%rax)
jmp... | /OpenMD[P]OpenMD/src/antlr/CharScanner.hpp |
antlr::CharScanner::match(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | virtual void match(const ANTLR_USE_NAMESPACE(std)string& s)
{
size_t len = s.length();
for (size_t i = 0; i < len; i++)
{
// the & 0xFF is here to prevent sign extension lateron
int la_1 = LA(1), c = (s[i] & 0xFF);
if ( la_1 != c )
throw MismatchedCharException(la_1, c, false, this);
consume()... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
movq 0x8(%rsi), %r13
xorl %ebp, %ebp
cmpq %rbp, %r13
je 0x22aec
movq (%rbx), %rax
movq %rbx, %rdi
pushq $0x1
popq %rsi
callq *0x18(%rax)
movl %eax, %r15d
movq (%r14), %rax
movzbl (%rax,%rbp), %r12d
cmpl %r12d, %... | /OpenMD[P]OpenMD/src/antlr/CharScanner.hpp |
antlr::CharScanner::testLiteralsTable(int) const | virtual int testLiteralsTable(int ttype) const
{
ANTLR_USE_NAMESPACE(std)map<ANTLR_USE_NAMESPACE(std)string,int,CharScannerLiteralsLess>::const_iterator i = literals.find(text);
if (i != literals.end())
ttype = (*i).second;
return ttype;
} | pushq %r14
pushq %rbx
pushq %rax
movl %esi, %ebx
movq %rdi, %r14
addq $0x40, %rdi
leaq 0x8(%r14), %rsi
callq 0x2530a
addq $0x48, %r14
cmpq %r14, %rax
je 0x22d68
movl 0x40(%rax), %ebx
movl %ebx, %eax
addq $0x8, %rsp
popq %rbx
popq %r14
retq
| /OpenMD[P]OpenMD/src/antlr/CharScanner.hpp |
OpenMD::SimplePreprocessor::doPreprocess(std::istream&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, int, std::ostream&, std::set<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, s... | bool doPreprocess(std::istream& myStream, const std::string& filename, int startingLine, ostream& os, std::set<std::string>& defineSet, std::stack<bool>& ifStates) {
//std::ifstream input(filename.c_str());
//if (!input.is_open()) {
// std::stringstream ss;
// ss <<... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x24c8, %rsp # imm = 0x24C8
movq %r9, %r14
movq %r8, %rdi
movl %ecx, %ebp
movq %rdx, %rbx
movq %rsi, 0x50(%rsp)
movq 0x2500(%rsp), %r15
leaq 0xa38b9(%rip), %rsi # 0xc672b
movq %r8, 0x38(%rsp)
callq 0x134b0
movq %rax, %rdi
movl %ebp, %... | /OpenMD[P]OpenMD/src/mdParser/SimplePreprocessor.hpp |
antlr::TreeParser::matchNot(antlr::ASTRefCount<antlr::AST>, int) | virtual void matchNot(RefAST t, int ttype)
{
if ( !t || t == ASTNULL || t->getType() == ttype )
throw MismatchedTokenException( getTokenNames(), getNumTokens(),
t, ttype, true );
} | pushq %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
movl %edx, %ebp
movq %rsi, %r14
movq %rdi, %r15
movq (%rsi), %rax
testq %rax, %rax
je 0x243ec
movq (%rax), %rdi
testq %rdi, %rdi
je 0x243ec
leaq 0xfc563(%rip), %rax # 0x120928
movq (%rax), %rax
testq %rax, %rax
je 0x243d2
cmpq (%rax), %rdi
je 0... | /OpenMD[P]OpenMD/src/antlr/TreeParser.hpp |
OpenMD::CutoffGroup::getMass() | RealType getMass() {
if (!haveTotalMass) {
totalMass = 0.0;
std::vector<Atom*>::iterator i;
for (Atom* atom = beginAtom(i); atom != NULL; atom = nextAtom(i)) {
RealType mass = atom->getMass();
totalMass += mass;
}
haveTotalMass = true;
}
r... | cmpb $0x1, 0x18(%rdi)
jne 0x27e78
movsd 0x20(%rdi), %xmm0
retq
andq $0x0, 0x20(%rdi)
movq (%rdi), %rax
movq 0x8(%rdi), %rcx
xorpd %xmm0, %xmm0
cmpq %rcx, %rax
jne 0x27eac
xorl %edx, %edx
testq %rdx, %rdx
je 0x27eb1
addsd 0x38(%rdx), %xmm0
movsd %xmm0, 0x20(%rdi)
addq $0x8, %rax
movl $0x0, %edx
cmpq %rcx, %rax
je 0x27e8... | /OpenMD[P]OpenMD/src/primitives/CutoffGroup.hpp |
OpenMD::DumpReader::readFrame(int) | void DumpReader::readFrame(int whichFrame) {
if (!isScanned_) scanFile();
int asl = info_->getSnapshotManager()->getAtomStorageLayout();
int rbsl = info_->getSnapshotManager()->getRigidBodyStorageLayout();
needPos_ =
(asl & DataStorage::dslPosition || rbsl & DataStorage::dslPosition) ?
... | pushq %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x68, %rsp
movl %esi, %ebp
movq %rdi, %rbx
cmpb $0x0, 0x28(%rdi)
jne 0x29e6d
movq %rbx, %rdi
callq 0x29b9a
movq (%rbx), %rax
movq 0x2f8(%rax), %rcx
movl 0x8(%rcx), %eax
movl 0xc(%rcx), %edx
movl %edx, %ecx
orl %eax, %ecx
movl %ecx, %esi
andb $0x1, %sil
movb %sil, 0x250(... | /OpenMD[P]OpenMD/src/io/DumpReader.cpp |
OpenMD::DumpReader::readFrameProperties(std::istream&) | void DumpReader::readFrameProperties(std::istream& inputStream) {
Snapshot* s = info_->getSnapshotManager()->getCurrentSnapshot();
// We're about to overwrite all frame properties, so clear out any
// derived properties from previous use:
s->clearDerivedProperties();
inputStream.getline(buffer, buf... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xf8, %rsp
movq %rsi, %rbx
movq %rdi, %r14
movq (%rdi), %rax
movq 0x2f8(%rax), %rax
movq 0x18(%rax), %rdi
movq %rdi, 0x8(%rsp)
callq 0x629ee
addq $0x256, %r14 # imm = 0x256
movl $0x1000, %edx # imm = 0x1000
movq %rbx, %rdi
movq... | /OpenMD[P]OpenMD/src/io/DumpReader.cpp |
OpenMD::DumpReader::readStuntDoubles(std::istream&) | int DumpReader::readStuntDoubles(std::istream& inputStream) {
inputStream.getline(buffer, bufferSize);
std::string line(buffer);
if (line.find("<StuntDoubles>") == std::string::npos) {
snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH,
"DumpReader Error: Missing <StuntDoubles>\n");
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x256(%rdi), %r15
movl $0x1000, %edx # imm = 0x1000
movq %rsi, %rdi
movq %r15, %rsi
callq 0x13190
leaq 0x8(%rsp), %r13
leaq 0x7(%rsp), %rdx
movq %r13, %rdi
movq %r15, %rsi
callq 0x1a8b4
leaq... | /OpenMD[P]OpenMD/src/io/DumpReader.cpp |
OpenMD::DumpReader::parseSiteLine(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | void DumpReader::parseSiteLine(const std::string& line) {
StringTokenizer tokenizer(line);
int nTokens;
nTokens = tokenizer.countTokens();
if (nTokens < 1) {
snprintf(painCave.errMsg, MAX_SIM_ERROR_MSG_LENGTH,
"DumpReader Error: Not enough Tokens.\n%s\n", line.c_str());
pain... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x248, %rsp # imm = 0x248
movq %rsi, %r14
movq %rdi, 0x10(%rsp)
leaq 0x9a16f(%rip), %rsi # 0xc5085
leaq 0xc8(%rsp), %rdi
leaq 0x50(%rsp), %rdx
callq 0x1a8b4
leaq 0x70(%rsp), %rdi
leaq 0xc8(%rsp), %rdx
movq %r14, %rsi
callq 0xb9030
le... | /OpenMD[P]OpenMD/src/io/DumpReader.cpp |
OpenMD::Quaternion<double>::toRotationMatrix3() | SquareMatrix<Real, 3> toRotationMatrix3() {
SquareMatrix<Real, 3> rotMat3;
Real w2;
Real x2;
Real y2;
Real z2;
if (!this->isNormalized()) this->normalize();
w2 = w() * w();
x2 = x() * x();
y2 = y() * y();
z2 = z() * z();
rotMat3(0, 0) = w2 + x2 - y2 ... | pushq %r14
pushq %rbx
pushq %rax
movq %rsi, %r14
movq %rdi, %rbx
callq 0x1e636
movq %r14, %rdi
callq 0x2b6e6
testb %al, %al
jne 0x2b583
movq %r14, %rdi
callq 0x2b3e2
movsd (%r14), %xmm7
movsd 0x18(%r14), %xmm0
movapd 0x9b5aa(%rip), %xmm6 # 0xc6b40
xorpd %xmm7, %xmm6
movupd 0x8(%r14), %xmm1
movapd %xmm1, %xmm4
movapd... | /OpenMD[P]OpenMD/src/math/Quaternion.hpp |
OpenMD::Utils::RandNumGen::RandNumGen(unsigned long) | RandNumGen::RandNumGen(result_type seed) {
int worldRank {};
int nProcessors {1};
#ifdef IS_MPI
MPI_Comm_rank(MPI_COMM_WORLD, &worldRank);
MPI_Comm_size(MPI_COMM_WORLD, &nProcessors);
#endif
result_type result;
std::vector<result_type> seeds(nProcessors);
#ifdef IS_MPI
if (worldRank == 0) ... | pushq %r15
pushq %r14
pushq %rbx
subq $0x13d0, %rsp # imm = 0x13D0
movq %rsi, %r14
movq %rdi, %rbx
callq 0x2b9c8
movq %rsp, %rdi
pushq $0x1
popq %r15
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x2b9d2
leaq 0x18(%rsp), %rdi
leaq 0x48(%rsp), %rdx
movq %r15, %rsi
callq 0x2b9d2
movq 0x18(%rsp), %rsi
movq 0x20(%r... | /OpenMD[P]OpenMD/src/utils/RandNumGen.cpp |
antlr::CharScanner::CharScanner(antlr::InputBuffer&, bool) | CharScanner::CharScanner(InputBuffer& cb, bool case_sensitive )
: saveConsumedInput(true) //, caseSensitiveLiterals(true)
, caseSensitive(case_sensitive)
, literals(CharScannerLiteralsLess(this))
, inputState(new LexerInputState(cb))
, commitToPath(false)
, tabsize(8)
, traceDepth(0)
{
setTokenObjectFactory(&Co... | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
leaq 0xedb7a(%rip), %rax # 0x119b48
movq %rax, (%rdi)
leaq 0x18(%rdi), %rax
movq %rax, 0x8(%rdi)
andq $0x0, 0x10(%rdi)
movq %rsi, %r14
movb $0x0, 0x18(%rdi)
movb $0x1, 0x28(%rdi)
movb %dl, 0x38(%rdi)
movq %rdi, 0x40(%rdi)
andl $0x0, 0x48(%rdi)
l... | /OpenMD[P]OpenMD/src/antlr/CharScanner.cpp |
antlr::CharScanner::reportError(antlr::RecognitionException const&) | void CharScanner::reportError(const RecognitionException& ex)
{
ANTLR_USE_NAMESPACE(std)cerr << ex.toString().c_str() << ANTLR_USE_NAMESPACE(std)endl;
} | pushq %rbx
subq $0x20, %rsp
movq (%rsi), %rax
movq %rsp, %rbx
movq %rbx, %rdi
callq *0x10(%rax)
movq (%rbx), %rsi
movq 0xf1dad(%rip), %rdi # 0x11dfd8
callq 0x134b0
movq %rax, %rdi
callq 0x13250
movq %rsp, %rdi
callq 0x13a98
addq $0x20, %rsp
popq %rbx
retq
movq %rax, %rbx
movq %rsp, %rdi
callq 0x13a98
movq %rbx, %rd... | /OpenMD[P]OpenMD/src/antlr/CharScanner.cpp |
antlr::TokenBuffer::LT(unsigned int) | RefToken TokenBuffer::LT(unsigned int i)
{
fill(i);
return queue.elementAt(markerOffset+i-1);
} | pushq %r15
pushq %r14
pushq %rbx
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
movq %rsi, %rdi
movl %edx, %esi
callq 0x2c652
movl 0x14(%r15), %eax
addl %r14d, %eax
decl %eax
movq 0x38(%r15), %rcx
shlq $0x3, %rcx
addq 0x20(%r15), %rcx
movq (%rcx,%rax,8), %rax
testq %rax, %rax
je 0x2c75d
incl 0x8(%rax)
movq %rax, (%rb... | /OpenMD[P]OpenMD/src/antlr/TokenBuffer.cpp |
void OpenMD::DataHolder::assign<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>) | void assign(const std::string& keyword, T val) {
ParamMap::iterator i = parameters_.find(keyword);
if (i != parameters_.end()) {
bool result = i->second->setData(val);
if (!result) {
std::stringstream ss;
ss << "Error in parsing " << keyword << ": expected "
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp # imm = 0x1C8
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
addq $0x8, %rdi
callq 0x4b9e8
movq %rax, %r15
leaq 0x10(%r12), %rax
cmpq %rax, %r15
je 0x4a558
movq 0x40(%r15), %r12
leaq 0x20(%rsp), %r13
movq %r13, %rdi
movq %rb... | /OpenMD[P]OpenMD/src/types/DataHolder.hpp |
void OpenMD::DataHolder::assign<std::vector<double, std::allocator<double>>>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&, std::vector<double, std::allocator<double>>) | void assign(const std::string& keyword, T val) {
ParamMap::iterator i = parameters_.find(keyword);
if (i != parameters_.end()) {
bool result = i->second->setData(val);
if (!result) {
std::stringstream ss;
ss << "Error in parsing " << keyword << ": expected "
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x1c8, %rsp # imm = 0x1C8
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %r12
addq $0x8, %rdi
callq 0x4b9e8
movq %rax, %r15
leaq 0x10(%r12), %rax
cmpq %rax, %r15
je 0x4a7aa
movq 0x40(%r15), %r12
leaq 0x28(%rsp), %r13
movq %r13, %rdi
movq %rb... | /OpenMD[P]OpenMD/src/types/DataHolder.hpp |
OpenMD::BendStamp::setMembers(std::vector<int, std::allocator<int>> const&) | void setMembers(const std::vector<int>& members) {
members_ = members;
if (members_.size() < 2 || members_.size() > 3) {
std::ostringstream oss;
oss << "members" << containerToString(members) << " is invalid"
<< std::endl;
throw OpenMDException(oss.str());
}
} | pushq %rbp
pushq %r14
pushq %rbx
subq $0x1a0, %rsp # imm = 0x1A0
movq %rsi, %rbx
movq %rdi, %r14
addq $0x98, %rdi
callq 0x25150
movq 0xa0(%r14), %rax
subq 0x98(%r14), %rax
andq $-0x8, %rax
cmpq $0x8, %rax
jne 0x4ad49
addq $0x1a0, %rsp # imm = 0x1A0
popq %rbx
popq %r14
popq %rbp
retq
leaq 0x28(%rsp... | /OpenMD[P]OpenMD/src/types/BendStamp.hpp |
OpenMD::DataHolder::DataHolder() | DataHolder() {} | leaq 0xcf0f1(%rip), %rax # 0x11a410
movq %rax, (%rdi)
leaq 0x10(%rdi), %rax
andl $0x0, 0x10(%rdi)
andq $0x0, 0x18(%rdi)
movq %rax, 0x20(%rdi)
movq %rax, 0x28(%rdi)
andq $0x0, 0x30(%rdi)
leaq 0x40(%rdi), %rax
andl $0x0, 0x40(%rdi)
andq $0x0, 0x48(%rdi)
movq %rax, 0x50(%rdi)
movq %rax, 0x58(%rdi)
andq $0x0, 0x60(%rdi... | /OpenMD[P]OpenMD/src/types/DataHolder.hpp |
OpenMD::Thermo::getTranslationalKinetic() | RealType Thermo::getTranslationalKinetic() {
Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot();
if (!snap->hasTranslationalKineticEnergy) {
SimInfo::MoleculeIterator miter;
vector<StuntDouble*>::iterator iiter;
Molecule* mol;
StuntDouble* sd;
Vector3d vel;
R... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq (%rdi), %rax
movq 0x2f8(%rax), %rax
movq 0x18(%rax), %rbx
cmpb $0x0, 0xa71(%rbx)
jne 0x4bbe5
movq %rdi, %r14
movq %rbx, 0x10(%rsp)
leaq 0x38(%rsp), %r15
andq $0x0, (%r15)
leaq 0x20(%rsp), %r12
movq %r12, %rdi
callq 0x1b928
movq (%r1... | /OpenMD[P]OpenMD/src/brains/Thermo.cpp |
OpenMD::Thermo::getRotationalKinetic() | RealType Thermo::getRotationalKinetic() {
Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot();
if (!snap->hasRotationalKineticEnergy) {
SimInfo::MoleculeIterator miter;
vector<StuntDouble*>::iterator iiter;
Molecule* mol;
StuntDouble* sd;
Vector3d angMom;
Mat3... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0xd8, %rsp
movq (%rdi), %rax
movq 0x2f8(%rax), %rax
movq 0x18(%rax), %rbx
cmpb $0x0, 0xa72(%rbx)
jne 0x4bdfb
movq %rdi, %r15
movq %rbx, 0x28(%rsp)
leaq 0x38(%rsp), %rbx
andq $0x0, (%rbx)
leaq 0x10(%rsp), %rdi
callq 0x1b928
leaq 0x40(%rsp), %r13
mov... | /OpenMD[P]OpenMD/src/brains/Thermo.cpp |
OpenMD::Thermo::getElectronicKinetic() | RealType Thermo::getElectronicKinetic() {
Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot();
if (!snap->hasElectronicKineticEnergy) {
SimInfo::MoleculeIterator miter;
vector<Atom*>::iterator iiter;
Molecule* mol;
Atom* atom;
RealType cvel;
RealType cmass;
... | pushq %r15
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rdi, %r14
movq (%rdi), %rdi
movq 0x2f8(%rdi), %rax
movq 0x18(%rax), %rbx
cmpb $0x0, 0xa73(%rbx)
jne 0x4bf50
leaq 0x8(%rsp), %r15
andq $0x0, (%r15)
movq %r15, %rsi
callq 0x27020
xorpd %xmm0, %xmm0
testq %rax, %rax
je 0x4bf40
movq 0x100(%rax), %rcx
movq 0x108(%rax),... | /OpenMD[P]OpenMD/src/brains/Thermo.cpp |
OpenMD::Thermo::getTotalEnergy() | RealType Thermo::getTotalEnergy() {
Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot();
if (!snap->hasTotalEnergy) {
snap->setTotalEnergy(this->getKinetic() + this->getPotential());
}
return snap->getTotalEnergy();
} | pushq %r14
pushq %rbx
pushq %rax
movq (%rdi), %rax
movq 0x2f8(%rax), %rax
movq 0x18(%rax), %rbx
cmpb $0x0, 0xa70(%rbx)
jne 0x4bfcf
movq %rdi, %r14
callq 0x4be16
movsd %xmm0, (%rsp)
movq %r14, %rdi
callq 0x4bf62
addsd (%rsp), %xmm0
movq %rbx, %rdi
callq 0x63816
movq %rbx, %rdi
addq $0x8, %rsp
popq %rbx
popq %r14
jmp 0x6... | /OpenMD[P]OpenMD/src/brains/Thermo.cpp |
OpenMD::Thermo::getElectronicTemperature() | RealType Thermo::getElectronicTemperature() {
Snapshot* snap = info_->getSnapshotManager()->getCurrentSnapshot();
if (!snap->hasElectronicTemperature) {
RealType eTemp = (2.0 * this->getElectronicKinetic()) /
(info_->getNFluctuatingCharges() * Constants::kb);
snap->setElectr... | pushq %r14
pushq %rbx
pushq %rax
movq (%rdi), %rax
movq 0x2f8(%rax), %rax
movq 0x18(%rax), %rbx
cmpb $0x0, 0xa80(%rbx)
jne 0x4c0bd
movq %rdi, %r14
callq 0x4be74
movq (%r14), %rax
cvtsi2sdl 0x64(%rax), %xmm1
addsd %xmm0, %xmm0
mulsd 0x7c70f(%rip), %xmm1 # 0xc87c0
divsd %xmm1, %xmm0
movq %rbx, %rdi
callq 0x6385e
movq ... | /OpenMD[P]OpenMD/src/brains/Thermo.cpp |
antlr::MismatchedCharException::MismatchedCharException(int, int, int, bool, antlr::CharScanner*) | MismatchedCharException::MismatchedCharException(
int c,
int lower,
int upper_,
bool matchNot,
CharScanner* scanner_
) : RecognitionException("Mismatched char",
scanner_->getFilename(),
scanner_->getLine(), scanner_->getColumn())
, mismatchType(matchNot ? NOT_RANGE : RANGE)
, ... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r9, %r14
movl %r8d, %r13d
movl %ecx, 0x14(%rsp)
movl %edx, 0x10(%rsp)
movl %esi, %r12d
movq %rdi, %rbx
leaq 0x761b5(%rip), %rsi # 0xc8a82
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1a8b4
movq (%r14), %rax
movq %r14, %rd... | /OpenMD[P]OpenMD/src/antlr/MismatchedCharException.cpp |
antlr::MismatchedCharException::MismatchedCharException(int, int, bool, antlr::CharScanner*) | MismatchedCharException::MismatchedCharException(
int c,
int expecting_,
bool matchNot,
CharScanner* scanner_
) : RecognitionException("Mismatched char",
scanner_->getFilename(),
scanner_->getLine(), scanner_->getColumn())
, mismatchType(matchNot ? NOT_CHAR : CHAR)
, foundChar(... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
movq %r8, %r14
movl %ecx, %r12d
movl %edx, 0x4(%rsp)
movl %esi, %r15d
movq %rdi, %rbx
leaq 0x760c7(%rip), %rsi # 0xc8a82
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x1a8b4
movq (%r14), %rax
movq %r14, %rdi
callq *0xd0(%rax)
movq... | /OpenMD[P]OpenMD/src/antlr/MismatchedCharException.cpp |
antlr::MismatchedCharException::MismatchedCharException(int, antlr::BitSet, bool, antlr::CharScanner*) | MismatchedCharException::MismatchedCharException(
int c,
BitSet set_,
bool matchNot,
CharScanner* scanner_
) : RecognitionException("Mismatched char",
scanner_->getFilename(),
scanner_->getLine(), scanner_->getColumn())
, mismatchType(matchNot ? NOT_SET : SET)
, foundChar(c)
... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq %r8, %r14
movl %ecx, %r12d
movq %rdx, 0x10(%rsp)
movl %esi, %ebp
movq %rdi, %rbx
leaq 0x75fe3(%rip), %rsi # 0xc8a82
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1a8b4
movq (%r14), %rax
movq %r14, %rdi
callq *0xd0(%rax)
mov... | /OpenMD[P]OpenMD/src/antlr/MismatchedCharException.cpp |
antlr::MismatchedTokenException::MismatchedTokenException() | MismatchedTokenException::MismatchedTokenException()
: RecognitionException("Mismatched Token: expecting any AST node","<AST>",-1,-1)
, token(0)
, node(nullASTptr)
, tokenNames(0)
, numTokens(0)
{
} | pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x48, %rsp
movq %rdi, %rbx
leaq 0x75922(%rip), %rsi # 0xc8b8b
leaq 0x28(%rsp), %rdi
leaq 0x7(%rsp), %rdx
callq 0x1a8b4
leaq 0x75935(%rip), %rsi # 0xc8bb4
leaq 0x8(%rsp), %rdi
leaq 0x6(%rsp), %rdx
callq 0x1a8b4
leaq 0x28(%rsp), %rsi
leaq 0x8(%rsp), %rdx
pushq $-0... | /OpenMD[P]OpenMD/src/antlr/MismatchedTokenException.cpp |
antlr::MismatchedTokenException::MismatchedTokenException(char const* const*, int, antlr::ASTRefCount<antlr::AST>, int, int, bool) | MismatchedTokenException::MismatchedTokenException(
const char* const* tokenNames_,
const int numTokens_,
RefAST node_,
int lower,
int upper_,
bool matchNot
) : RecognitionException("Mismatched Token","<AST>",-1,-1)
, token(0)
, node(node_)
, tokenText( (node_ ? node_->toString(): ANTLR_USE_NAMESPACE(std)st... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, 0x4(%rsp)
movl %r8d, %r12d
movq %rcx, %r13
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x75820(%rip), %rsi # 0xc8bba
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x1a8b4
leaq 0x75804(%rip), %rsi # 0xc8bb4
l... | /OpenMD[P]OpenMD/src/antlr/MismatchedTokenException.cpp |
antlr::MismatchedTokenException::MismatchedTokenException(char const* const*, int, antlr::ASTRefCount<antlr::AST>, int, bool) | MismatchedTokenException::MismatchedTokenException(
const char* const* tokenNames_,
const int numTokens_,
RefAST node_,
int expecting_,
bool matchNot
) : RecognitionException("Mismatched Token","<AST>",-1,-1)
, token(0)
, node(node_)
, tokenText( (node_ ? node_->toString(): ANTLR_USE_NAMESPACE(std)string("<e... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x48, %rsp
movl %r9d, %r12d
movl %r8d, 0x4(%rsp)
movq %rcx, %r13
movl %edx, %ebp
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x756a6(%rip), %rsi # 0xc8bba
leaq 0x8(%rsp), %rdi
leaq 0x3(%rsp), %rdx
callq 0x1a8b4
leaq 0x7568a(%rip), %rsi # 0xc8bb4
l... | /OpenMD[P]OpenMD/src/antlr/MismatchedTokenException.cpp |
antlr::MismatchedTokenException::MismatchedTokenException(char const* const*, int, antlr::TokenRefCount<antlr::Token>, int, int, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>> const&) | MismatchedTokenException::MismatchedTokenException(
const char* const* tokenNames_,
const int numTokens_,
RefToken token_,
int lower,
int upper_,
bool matchNot,
const ANTLR_USE_NAMESPACE(std)string& fileName_
) : RecognitionException("Mismatched Token",fileName_,token_->getLine(),token_->getColumn())
, token(t... | pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movl %r9d, %ebp
movl %r8d, %r12d
movq %rcx, %r13
movl %edx, %r14d
movq %rsi, %r15
movq %rdi, %rbx
leaq 0x753d1(%rip), %rsi # 0xc8bba
leaq 0x18(%rsp), %rdi
leaq 0xf(%rsp), %rdx
callq 0x1a8b4
movl %r12d, 0x10(%rsp)
movl %ebp, 0x14(%rsp... | /OpenMD[P]OpenMD/src/antlr/MismatchedTokenException.cpp |
Subsets and Splits
SQL Console for LLM4Binary/decompile-bench
Filters out entries with file names ending in .cpp, providing a basic subset of the dataset that excludes C++ files.