#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
int /*<<< orphan*/ puts(char *);
void showUsage() {
  puts("\n\nUsage: PassFuck [Options ] param");
  puts("\t -t \tTarget Host");
  puts("\t -n \tNumber of port");
  puts("\t -l \tLogin name");
  puts("\t -p \tpassword");
  puts("\t -L \tLoginNameDict File");
  puts("\t -P \tPassDict File");
  puts("\t -s \tService or Protocol");
  puts("\t -o \tWrite correct items to file");
  puts("\t -h \tShow this help mesage");
  puts("\t -v \tShow basic verbose");
  puts("\t -vv \tShow every attempt");
  puts("\t -vvv \tShow every Connection deatils int palin text");
  puts("\t");
  puts("eg.1:\tPassFuck -s smtp -t mail.lzu.edu.cn -l victim@lzu.edu.cn -p "
       "ThisIsP@ssword");
  puts("eg.1:\tPassFuck -s smtp -t mail.lzu.edu.cn -L USERDICT.txt -P "
       "PASSDICT.txt -o passwordtable.txt");
  puts("\n");
}


x86 assembly (clang, -O0):
<showUsage>:
push   %rbp
mov    %rsp,%rbp
lea    0xee5(%rip),%rdi
call   1030 <puts@plt>
lea    0xefc(%rip),%rdi
call   1030 <puts@plt>
lea    0xf02(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf10(%rip),%rdi
call   1030 <puts@plt>
lea    0xf13(%rip),%rdi
call   1030 <puts@plt>
lea    0xf20(%rip),%rdi
call   1030 <puts@plt>
lea    0xf28(%rip),%rdi
call   1030 <puts@plt>
lea    0xf36(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf69(%rip),%rdi
call   1030 <puts@plt>
lea    0xf77(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa0(%rip),%rdi
call   1030 <puts@plt>
lea    0xf96(%rip),%rdi
call   1030 <puts@plt>
lea    0xfdb(%rip),%rdi
call   1030 <puts@plt>
lea    0x102e(%rip),%rdi
call   1030 <puts@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<showUsage>:
push   %rax
lea    0xee8(%rip),%rdi
call   1030 <puts@plt>
lea    0xeff(%rip),%rdi
call   1030 <puts@plt>
lea    0xf05(%rip),%rdi
call   1030 <puts@plt>
lea    0xf0e(%rip),%rdi
call   1030 <puts@plt>
lea    0xf13(%rip),%rdi
call   1030 <puts@plt>
lea    0xf16(%rip),%rdi
call   1030 <puts@plt>
lea    0xf23(%rip),%rdi
call   1030 <puts@plt>
lea    0xf2b(%rip),%rdi
call   1030 <puts@plt>
lea    0xf39(%rip),%rdi
call   1030 <puts@plt>
lea    0xf4f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf5f(%rip),%rdi
call   1030 <puts@plt>
lea    0xf6c(%rip),%rdi
call   1030 <puts@plt>
lea    0xf7a(%rip),%rdi
call   1030 <puts@plt>
lea    0xfa3(%rip),%rdi
call   1030 <puts@plt>
lea    0xf99(%rip),%rdi
call   1030 <puts@plt>
lea    0xfde(%rip),%rdi
call   1030 <puts@plt>
lea    0x1031(%rip),%rdi
pop    %rax
jmp    1030 <puts@plt>

LLVM IR (-O0):
@.str = [35 x i8] c"\0A\0AUsage: PassFuck [Options ] param\00"
@.str.1 = [18 x i8] c"\09 -t \09Target Host\00"
@.str.2 = [21 x i8] c"\09 -n \09Number of port\00"
@.str.3 = [17 x i8] c"\09 -l \09Login name\00"
@.str.4 = [15 x i8] c"\09 -p \09password\00"
@.str.5 = [25 x i8] c"\09 -L \09LoginNameDict File\00"
@.str.6 = [20 x i8] c"\09 -P \09PassDict File\00"
@.str.7 = [26 x i8] c"\09 -s \09Service or Protocol\00"
@.str.8 = [34 x i8] c"\09 -o \09Write correct items to file\00"
@.str.9 = [28 x i8] c"\09 -h \09Show this help mesage\00"
@.str.10 = [25 x i8] c"\09 -v \09Show basic verbose\00"
@.str.11 = [26 x i8] c"\09 -vv \09Show every attempt\00"
@.str.12 = [53 x i8] c"\09 -vvv \09Show every Connection deatils int palin text\00"
@.str.13 = [2 x i8] c"\09\00"
@.str.14 = [81 x i8] c"eg.1:\09PassFuck -s smtp -t mail.lzu.edu.cn -l victim@lzu.edu.cn -p ThisIsP@ssword\00"
@.str.15 = [95 x i8] c"eg.1:\09PassFuck -s smtp -t mail.lzu.edu.cn -L USERDICT.txt -P PASSDICT.txt -o passwordtable.txt\00"
@.str.16 = [2 x i8] c"\0A\00"
define void @showUsage() {
%1 = call i32 @puts(i8* getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @puts(i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @puts(i8* getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @puts(i8* getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @puts(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @puts(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @puts(i8* getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @puts(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @puts(i8* getelementptr inbounds ([25 x i8], [25 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @puts(i8* getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @puts(i8* getelementptr inbounds ([53 x i8], [53 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @puts(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @puts(i8* getelementptr inbounds ([95 x i8], [95 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @puts(i8* getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [35 x i8] c"\0A\0AUsage: PassFuck [Options ] param\00"
@.str.1 = [18 x i8] c"\09 -t \09Target Host\00"
@.str.2 = [21 x i8] c"\09 -n \09Number of port\00"
@.str.3 = [17 x i8] c"\09 -l \09Login name\00"
@.str.4 = [15 x i8] c"\09 -p \09password\00"
@.str.5 = [25 x i8] c"\09 -L \09LoginNameDict File\00"
@.str.6 = [20 x i8] c"\09 -P \09PassDict File\00"
@.str.7 = [26 x i8] c"\09 -s \09Service or Protocol\00"
@.str.8 = [34 x i8] c"\09 -o \09Write correct items to file\00"
@.str.9 = [28 x i8] c"\09 -h \09Show this help mesage\00"
@.str.10 = [25 x i8] c"\09 -v \09Show basic verbose\00"
@.str.11 = [26 x i8] c"\09 -vv \09Show every attempt\00"
@.str.12 = [53 x i8] c"\09 -vvv \09Show every Connection deatils int palin text\00"
@.str.13 = [2 x i8] c"\09\00"
@.str.14 = [81 x i8] c"eg.1:\09PassFuck -s smtp -t mail.lzu.edu.cn -l victim@lzu.edu.cn -p ThisIsP@ssword\00"
@.str.15 = [95 x i8] c"eg.1:\09PassFuck -s smtp -t mail.lzu.edu.cn -L USERDICT.txt -P PASSDICT.txt -o passwordtable.txt\00"
@.str.16 = [2 x i8] c"\0A\00"
define void @showUsage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @.str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([18 x i8], [18 x i8]* @.str.1, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([21 x i8], [21 x i8]* @.str.2, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([17 x i8], [17 x i8]* @.str.3, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([15 x i8], [15 x i8]* @.str.4, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.5, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([20 x i8], [20 x i8]* @.str.6, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.7, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([34 x i8], [34 x i8]* @.str.8, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([28 x i8], [28 x i8]* @.str.9, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([25 x i8], [25 x i8]* @.str.10, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([26 x i8], [26 x i8]* @.str.11, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([53 x i8], [53 x i8]* @.str.12, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.13, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([81 x i8], [81 x i8]* @.str.14, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([95 x i8], [95 x i8]* @.str.15, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([2 x i8], [2 x i8]* @.str.16, i64 0, i64 0))
ret void
}