#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*/ writeVerbose(int, char *, ...);
void showUsage() {
  writeVerbose(1, "%s (%s) %s :: %s\n", "rsh.mod", "2.0",
               "pMonkey <pmonkey@foofus.net>",
               "Brute force module for RSH sessions");
  writeVerbose(1,
               "Rsh is a service where you either have .rhosts/hosts.equiv "
               "access\nfrom the source host or you don't. Passwords really "
               "don't matter.\nSo the best way to use this module is with a "
               "single dummy password and a\nlist of users you suspect may "
               "have .rhosts/hosts.equiv allows for your source.\nGood luck.");
}


x86 assembly (clang, -O0):
<showUsage>:
push   %rbp
mov    %rsp,%rbp
mov    $0x1,%edi
lea    0xee0(%rip),%rsi
lea    0xeeb(%rip),%rdx
lea    0xeec(%rip),%rcx
lea    0xee9(%rip),%r8
lea    0xeff(%rip),%r9
mov    $0x0,%al
call   1030 <writeVerbose@plt>
mov    $0x1,%edi
lea    0xf10(%rip),%rsi
mov    $0x0,%al
call   1030 <writeVerbose@plt>
pop    %rbp
ret

x86 assembly (clang, -O2):
<showUsage>:
push   %rax
lea    0xee8(%rip),%rsi
lea    0xef3(%rip),%rdx
lea    0xef4(%rip),%rcx
lea    0xef1(%rip),%r8
lea    0xf07(%rip),%r9
mov    $0x1,%edi
xor    %eax,%eax
call   1030 <writeVerbose@plt>
lea    0xf18(%rip),%rsi
mov    $0x1,%edi
xor    %eax,%eax
pop    %rcx
jmp    1030 <writeVerbose@plt>

LLVM IR (-O0):
@.str = [18 x i8] c"%s (%s) %s :: %s\0A\00"
@.str.1 = [8 x i8] c"rsh.mod\00"
@.str.2 = [4 x i8] c"2.0\00"
@.str.3 = [29 x i8] c"pMonkey <pmonkey@foofus.net>\00"
@.str.4 = [36 x i8] c"Brute force module for RSH sessions\00"
@.str.5 = [295 x i8] c"Rsh is a service where you either have .rhosts/hosts.equiv access\0Afrom the source host or you don't. Passwords really don't matter.\0ASo the best way to use this module is with a single dummy password and a\0Alist of users you suspect may have .rhosts/hosts.equiv allows for your source.\0AGood luck.\00"
define void @showUsage() {
%1 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
%2 = call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([295 x i8], [295 x i8]* @.str.5, i64 0, i64 0))
ret void
}

LLVM IR (-O2):
@.str = [18 x i8] c"%s (%s) %s :: %s\0A\00"
@.str.1 = [8 x i8] c"rsh.mod\00"
@.str.2 = [4 x i8] c"2.0\00"
@.str.3 = [29 x i8] c"pMonkey <pmonkey@foofus.net>\00"
@.str.4 = [36 x i8] c"Brute force module for RSH sessions\00"
@.str.5 = [295 x i8] c"Rsh is a service where you either have .rhosts/hosts.equiv access\0Afrom the source host or you don't. Passwords really don't matter.\0ASo the best way to use this module is with a single dummy password and a\0Alist of users you suspect may have .rhosts/hosts.equiv allows for your source.\0AGood luck.\00"
define void @showUsage() {
%1 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str.1, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str.2, i64 0, i64 0), i8* getelementptr inbounds ([29 x i8], [29 x i8]* @.str.3, i64 0, i64 0), i8* getelementptr inbounds ([36 x i8], [36 x i8]* @.str.4, i64 0, i64 0))
%2 = tail call i32 (i32, i8*, ...) @writeVerbose(i32 1, i8* getelementptr inbounds ([295 x i8], [295 x i8]* @.str.5, i64 0, i64 0))
ret void
}