// File: mehrangoli[P]Static-Data-Extractor/SCmain.cpp
// Function: ScMain::print_data()
void ScMain::print_data(){
	ofstream txtFile;
	txtFile.open ("output.txt");
	txtFile<<"--------------Extracted Static Information--------------"<<endl;
	for (auto i: static_data_final){
		txtFile<<"Module Name ----->\n"<<i.get_name()<<endl;	
		txtFile<<"Var List ----->\n"<<i.get_var()<<endl;	
		txtFile<<"Func List ----->\n"<<i.get_func()<<endl;
		txtFile<<"----------------------------------------------------"<<endl;	
	}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x350, %rsp            # imm = 0x350
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x310(%rbp)
leaq -0x208(%rbp), %rdi
movq %rdi, -0x308(%rbp)
callq 0x3400
movq -0x308(%rbp), %rdi
leaq 0xf7d5(%rip), %rsi      # 0x17190
movl $0x10, %edx
callq 0x3040
jmp 0x79c7
leaq 0xf7cd(%rip), %rsi      # 0x1719b
leaq -0x208(%rbp), %rdi
callq 0x3240
movq %rax, -0x318(%rbp)
jmp 0x79e3
movq -0x318(%rbp), %rdi
movq 0x175cf(%rip), %rsi     # 0x1efc0
callq 0x3280
jmp 0x79f8
movq -0x310(%rbp), %rax
movq %rax, -0x220(%rbp)
movq -0x220(%rbp), %rdi
callq 0xdce0
movq %rax, -0x228(%rbp)
movq -0x220(%rbp), %rdi
callq 0xdd10
movq %rax, -0x230(%rbp)
leaq -0x228(%rbp), %rdi
leaq -0x230(%rbp), %rsi
callq 0xdd40
testb $0x1, %al
jne 0x7a48
jmp 0x7c94
leaq -0x228(%rbp), %rdi
callq 0xdd80
movq %rax, %rsi
leaq -0x2a0(%rbp), %rdi
callq 0xdda0
jmp 0x7a65
leaq 0xf768(%rip), %rsi      # 0x171d4
leaq -0x208(%rbp), %rdi
callq 0x3240
movq %rax, -0x320(%rbp)
jmp 0x7a81
leaq -0x2c0(%rbp), %rdi
leaq -0x2a0(%rbp), %rsi
callq 0x13600
jmp 0x7a96
movq -0x320(%rbp), %rdi
leaq -0x2c0(%rbp), %rsi
callq 0x3230
movq %rax, -0x328(%rbp)
jmp 0x7ab2
movq -0x328(%rbp), %rdi
movq 0x17500(%rip), %rsi     # 0x1efc0
callq 0x3280
jmp 0x7ac7
leaq -0x2c0(%rbp), %rdi
callq 0x3190
leaq 0xf70e(%rip), %rsi      # 0x171e8
leaq -0x208(%rbp), %rdi
callq 0x3240
movq %rax, -0x330(%rbp)
jmp 0x7aef
leaq -0x2e0(%rbp), %rdi
leaq -0x2a0(%rbp), %rsi
callq 0x137e0
jmp 0x7b04
movq -0x330(%rbp), %rdi
leaq -0x2e0(%rbp), %rsi
callq 0x3230
movq %rax, -0x338(%rbp)
jmp 0x7b20
movq -0x338(%rbp), %rdi
movq 0x17492(%rip), %rsi     # 0x1efc0
callq 0x3280
jmp 0x7b35
leaq -0x2e0(%rbp), %rdi
callq 0x3190
leaq 0xf6b1(%rip), %rsi      # 0x171f9
leaq -0x208(%rbp), %rdi
callq 0x3240
movq %rax, -0x340(%rbp)
jmp 0x7b5d
leaq -0x300(%rbp), %rdi
leaq -0x2a0(%rbp), %rsi
callq 0x141d0
jmp 0x7b72
movq -0x340(%rbp), %rdi
leaq -0x300(%rbp), %rsi
callq 0x3230
movq %rax, -0x348(%rbp)
jmp 0x7b8e
movq -0x348(%rbp), %rdi
movq 0x17424(%rip), %rsi     # 0x1efc0
callq 0x3280
jmp 0x7ba3
leaq -0x300(%rbp), %rdi
callq 0x3190
leaq 0xf655(%rip), %rsi      # 0x1720b
leaq -0x208(%rbp), %rdi
callq 0x3240
movq %rax, -0x350(%rbp)
jmp 0x7bcb
movq -0x350(%rbp), %rdi
movq 0x173e7(%rip), %rsi     # 0x1efc0
callq 0x3280
jmp 0x7be0
leaq -0x2a0(%rbp), %rdi
callq 0x6570
leaq -0x228(%rbp), %rdi
callq 0xde40
jmp 0x7a2c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
jmp 0x7ca9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
jmp 0x7c86
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x2c0(%rbp), %rdi
callq 0x3190
jmp 0x7c86
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x2e0(%rbp), %rdi
callq 0x3190
jmp 0x7c86
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x210(%rbp)
movl %eax, -0x214(%rbp)
leaq -0x300(%rbp), %rdi
callq 0x3190
leaq -0x2a0(%rbp), %rdi
callq 0x6570
jmp 0x7ca9
leaq -0x208(%rbp), %rdi
callq 0x3370
addq $0x350, %rsp            # imm = 0x350
popq %rbp
retq
leaq -0x208(%rbp), %rdi
callq 0x3370
movq -0x210(%rbp), %rdi
callq 0x3420
nopw %cs:(%rax,%rax)