#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*/ exit(int);
int /*<<< orphan*/ printf(char *);
int usage() {
  printf("gooscan <-q query | -i query_file> <-t target>\n");
  printf("       	[-o output_file] [-p proxy:port] [-v] [-d]             "
         "        \n");
  printf("       	[-s site] [-x xtra_appliance_fields]\n");
  printf(
      "	----------------------------------------------------------------\n");
  printf("       	(query)       is a standard google query (EX: "
         "\"intitle:index.of\")\n");
  printf(
      "       	(query_file)  is a list of google queries (see README)\n");
  printf("	(target)      is the Google appliance/server\n");
  printf(
      "	(output_file) is where the HTML-formatted list of results goes\n");
  printf(
      "	(proxy:port)  address:port of a valid HTTP proxy for bouncing\n");
  printf(
      "	(site)        restricts search to one domain, like microsoft.com\n");
  printf("        (xtra_appliance_fields) are required for appliance scans\n");
  printf(" 	-v turns on verbose mode\n");
  printf(" 	-d hex-encodes all non-alpha characters\n");
  printf("Friendly example: \n");
  printf("gooscan -t google.fda.gov -q food \n");
  printf("        -x "
         "\"&client=FDA&site=FDA&output=xml_no_dtd&oe=&lr=&proxystylesheet="
         "FDA\"\n");
  printf("Google terms-of-service violations:\n");
  printf("gooscan -t www.google.com -q \"linux\" \n");
  printf("gooscan -t www.google.com -q \"linux\" -s microsoft.com \n");
  printf("gooscan -t www.google.com -f gdork.gs\n\n");
  printf("Gooscan google scanner by j0hnny http://johnny.ihackstuff.com\n");
  exit(1);
}


x86 assembly (clang, -O0):
<usage>:
push   %rbp
mov    %rsp,%rbp
lea    0xed5(%rip),%rdi
call   1030 <printf@plt>
lea    0xef9(%rip),%rdi
call   1030 <printf@plt>
lea    0xf36(%rip),%rdi
call   1030 <printf@plt>
lea    0xf58(%rip),%rdi
call   1030 <printf@plt>
lea    0xf8f(%rip),%rdi
call   1030 <printf@plt>
lea    0xfce(%rip),%rdi
call   1030 <printf@plt>
lea    0x1002(%rip),%rdi
call   1030 <printf@plt>
lea    0x1025(%rip),%rdi
call   1030 <printf@plt>
lea    0x105a(%rip),%rdi
call   1030 <printf@plt>
lea    0x108e(%rip),%rdi
call   1030 <printf@plt>
lea    0x10c5(%rip),%rdi
call   1030 <printf@plt>
lea    0x10fb(%rip),%rdi
call   1030 <printf@plt>
lea    0x110b(%rip),%rdi
call   1030 <printf@plt>
lea    0x112a(%rip),%rdi
call   1030 <printf@plt>
lea    0x1132(%rip),%rdi
call   1030 <printf@plt>
lea    0x114a(%rip),%rdi
call   1030 <printf@plt>
lea    0x118f(%rip),%rdi
call   1030 <printf@plt>
lea    0x11a8(%rip),%rdi
call   1030 <printf@plt>
lea    0x11c3(%rip),%rdi
call   1030 <printf@plt>
lea    0x11ef(%rip),%rdi
call   1030 <printf@plt>
lea    0x120b(%rip),%rdi
call   1030 <printf@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

x86 assembly (clang, -O2):
<usage>:
push   %rax
lea    0xed8(%rip),%rdi
call   1030 <puts@plt>
lea    0xefb(%rip),%rdi
call   1030 <puts@plt>
lea    0xf37(%rip),%rdi
call   1030 <puts@plt>
lea    0xf58(%rip),%rdi
call   1030 <puts@plt>
lea    0xf8e(%rip),%rdi
call   1030 <puts@plt>
lea    0xfcc(%rip),%rdi
call   1030 <puts@plt>
lea    0xfff(%rip),%rdi
call   1030 <puts@plt>
lea    0x1021(%rip),%rdi
call   1030 <puts@plt>
lea    0x1055(%rip),%rdi
call   1030 <puts@plt>
lea    0x1088(%rip),%rdi
call   1030 <puts@plt>
lea    0x10be(%rip),%rdi
call   1030 <puts@plt>
lea    0x10f3(%rip),%rdi
call   1030 <puts@plt>
lea    0x1102(%rip),%rdi
call   1030 <puts@plt>
lea    0x1120(%rip),%rdi
call   1030 <puts@plt>
lea    0x1127(%rip),%rdi
call   1030 <puts@plt>
lea    0x113e(%rip),%rdi
call   1030 <puts@plt>
lea    0x1182(%rip),%rdi
call   1030 <puts@plt>
lea    0x119a(%rip),%rdi
call   1030 <puts@plt>
lea    0x11b4(%rip),%rdi
call   1030 <puts@plt>
lea    0x11df(%rip),%rdi
call   1030 <puts@plt>
lea    0x11fa(%rip),%rdi
call   1030 <puts@plt>
mov    $0x1,%edi
call   1040 <exit@plt>

LLVM IR (-O0):
@.str = [48 x i8] c"gooscan <-q query | -i query_file> <-t target>\0A\00"
@.str.1 = [73 x i8] c" \09[-o output_file] [-p proxy:port] [-v] [-d] \0A\00"
@.str.2 = [46 x i8] c" \09[-s site] [-x xtra_appliance_fields]\0A\00"
@.str.3 = [67 x i8] c"\09----------------------------------------------------------------\0A\00"
@.str.4 = [75 x i8] c" \09(query) is a standard google query (EX: \22intitle:index.of\22)\0A\00"
@.str.5 = [64 x i8] c" \09(query_file) is a list of google queries (see README)\0A\00"
@.str.6 = [47 x i8] c"\09(target) is the Google appliance/server\0A\00"
@.str.7 = [65 x i8] c"\09(output_file) is where the HTML-formatted list of results goes\0A\00"
@.str.8 = [64 x i8] c"\09(proxy:port) address:port of a valid HTTP proxy for bouncing\0A\00"
@.str.9 = [67 x i8] c"\09(site) restricts search to one domain, like microsoft.com\0A\00"
@.str.10 = [66 x i8] c" (xtra_appliance_fields) are required for appliance scans\0A\00"
@.str.11 = [28 x i8] c" \09-v turns on verbose mode\0A\00"
@.str.12 = [43 x i8] c" \09-d hex-encodes all non-alpha characters\0A\00"
@.str.13 = [20 x i8] c"Friendly example: \0A\00"
@.str.14 = [36 x i8] c"gooscan -t google.fda.gov -q food \0A\00"
@.str.15 = [81 x i8] c" -x \22&client=FDA&site=FDA&output=xml_no_dtd&oe=&lr=&proxystylesheet=FDA\22\0A\00"
@.str.16 = [37 x i8] c"Google terms-of-service violations:\0A\00"
@.str.17 = [39 x i8] c"gooscan -t www.google.com -q \22linux\22 \0A\00"
@.str.18 = [56 x i8] c"gooscan -t www.google.com -q \22linux\22 -s microsoft.com \0A\00"
@.str.19 = [40 x i8] c"gooscan -t www.google.com -f gdork.gs\0A\0A\00"
@.str.20 = [63 x i8] c"Gooscan google scanner by j0hnny http://johnny.ihackstuff.com\0A\00"
define i32 @usage() {
%1 = call i32 @printf(i8* getelementptr inbounds ([48 x i8], [48 x i8]* @.str, i64 0, i64 0))
%2 = call i32 @printf(i8* getelementptr inbounds ([73 x i8], [73 x i8]* @.str.1, i64 0, i64 0))
%3 = call i32 @printf(i8* getelementptr inbounds ([46 x i8], [46 x i8]* @.str.2, i64 0, i64 0))
%4 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.3, i64 0, i64 0))
%5 = call i32 @printf(i8* getelementptr inbounds ([75 x i8], [75 x i8]* @.str.4, i64 0, i64 0))
%6 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.5, i64 0, i64 0))
%7 = call i32 @printf(i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str.6, i64 0, i64 0))
%8 = call i32 @printf(i8* getelementptr inbounds ([65 x i8], [65 x i8]* @.str.7, i64 0, i64 0))
%9 = call i32 @printf(i8* getelementptr inbounds ([64 x i8], [64 x i8]* @.str.8, i64 0, i64 0))
%10 = call i32 @printf(i8* getelementptr inbounds ([67 x i8], [67 x i8]* @.str.9, i64 0, i64 0))
%11 = call i32 @printf(i8* getelementptr inbounds ([66 x i8], [66 x i8]* @.str.10, i64 0, i64 0))
%12 = call i32 @printf(i8* getelementptr inbounds ([28 x i8], [28 x i8]* @.str.11, i64 0, i64 0))
%13 = call i32 @printf(i8* getelementptr inbounds ([43 x i8], [43 x i8]* @.str.12, i64 0, i64 0))
%14 = call i32 @printf(i8* getelementptr inbounds ([20 x i8], [20 x i8]* @.str.13, i64 0, i64 0))
%15 = call i32 @printf(i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.14, i64 0, i64 0))
%16 = call i32 @printf(i8* getelementptr inbounds ([81 x i8], [81 x i8]* @.str.15, i64 0, i64 0))
%17 = call i32 @printf(i8* getelementptr inbounds ([37 x i8], [37 x i8]* @.str.16, i64 0, i64 0))
%18 = call i32 @printf(i8* getelementptr inbounds ([39 x i8], [39 x i8]* @.str.17, i64 0, i64 0))
%19 = call i32 @printf(i8* getelementptr inbounds ([56 x i8], [56 x i8]* @.str.18, i64 0, i64 0))
%20 = call i32 @printf(i8* getelementptr inbounds ([40 x i8], [40 x i8]* @.str.19, i64 0, i64 0))
%21 = call i32 @printf(i8* getelementptr inbounds ([63 x i8], [63 x i8]* @.str.20, i64 0, i64 0))
%22 = call i32 @exit(i32 1)
unreachable
}

LLVM IR (-O2):
@str = [47 x i8] c"gooscan <-q query | -i query_file> <-t target>\00"
@str.21 = [72 x i8] c" \09[-o output_file] [-p proxy:port] [-v] [-d] \00"
@str.22 = [45 x i8] c" \09[-s site] [-x xtra_appliance_fields]\00"
@str.23 = [66 x i8] c"\09----------------------------------------------------------------\00"
@str.24 = [74 x i8] c" \09(query) is a standard google query (EX: \22intitle:index.of\22)\00"
@str.25 = [63 x i8] c" \09(query_file) is a list of google queries (see README)\00"
@str.26 = [46 x i8] c"\09(target) is the Google appliance/server\00"
@str.27 = [64 x i8] c"\09(output_file) is where the HTML-formatted list of results goes\00"
@str.28 = [63 x i8] c"\09(proxy:port) address:port of a valid HTTP proxy for bouncing\00"
@str.29 = [66 x i8] c"\09(site) restricts search to one domain, like microsoft.com\00"
@str.30 = [65 x i8] c" (xtra_appliance_fields) are required for appliance scans\00"
@str.31 = [27 x i8] c" \09-v turns on verbose mode\00"
@str.32 = [42 x i8] c" \09-d hex-encodes all non-alpha characters\00"
@str.33 = [19 x i8] c"Friendly example: \00"
@str.34 = [35 x i8] c"gooscan -t google.fda.gov -q food \00"
@str.35 = [80 x i8] c" -x \22&client=FDA&site=FDA&output=xml_no_dtd&oe=&lr=&proxystylesheet=FDA\22\00"
@str.36 = [36 x i8] c"Google terms-of-service violations:\00"
@str.37 = [38 x i8] c"gooscan -t www.google.com -q \22linux\22 \00"
@str.38 = [55 x i8] c"gooscan -t www.google.com -q \22linux\22 -s microsoft.com \00"
@str.39 = [39 x i8] c"gooscan -t www.google.com -f gdork.gs\0A\00"
@str.40 = [62 x i8] c"Gooscan google scanner by j0hnny http://johnny.ihackstuff.com\00"
define i32 @usage() {
%1 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([47 x i8], [47 x i8]* @str, i64 0, i64 0))
%2 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([72 x i8], [72 x i8]* @str.21, i64 0, i64 0))
%3 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([45 x i8], [45 x i8]* @str.22, i64 0, i64 0))
%4 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.23, i64 0, i64 0))
%5 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([74 x i8], [74 x i8]* @str.24, i64 0, i64 0))
%6 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.25, i64 0, i64 0))
%7 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([46 x i8], [46 x i8]* @str.26, i64 0, i64 0))
%8 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([64 x i8], [64 x i8]* @str.27, i64 0, i64 0))
%9 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([63 x i8], [63 x i8]* @str.28, i64 0, i64 0))
%10 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([66 x i8], [66 x i8]* @str.29, i64 0, i64 0))
%11 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([65 x i8], [65 x i8]* @str.30, i64 0, i64 0))
%12 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([27 x i8], [27 x i8]* @str.31, i64 0, i64 0))
%13 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([42 x i8], [42 x i8]* @str.32, i64 0, i64 0))
%14 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([19 x i8], [19 x i8]* @str.33, i64 0, i64 0))
%15 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([35 x i8], [35 x i8]* @str.34, i64 0, i64 0))
%16 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([80 x i8], [80 x i8]* @str.35, i64 0, i64 0))
%17 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([36 x i8], [36 x i8]* @str.36, i64 0, i64 0))
%18 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([38 x i8], [38 x i8]* @str.37, i64 0, i64 0))
%19 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([55 x i8], [55 x i8]* @str.38, i64 0, i64 0))
%20 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([39 x i8], [39 x i8]* @str.39, i64 0, i64 0))
%21 = tail call i32 @puts(i8* dereferenceable(1) getelementptr inbounds ([62 x i8], [62 x i8]* @str.40, i64 0, i64 0))
%22 = tail call i32 @exit(i32 1)
unreachable
}