KKimj / PerformanceFuzzer

PerformanceFuzzer
https://pypi.org/project/PerformanceFuzzer/
GNU General Public License v3.0
2 stars 0 forks source link

[meeting] 2021-03-29 #12

Open KKimj opened 3 years ago

KKimj commented 3 years ago

Data Padding

  1. Stack
  2. Global
KKimj commented 3 years ago

@x = local_unnamed_addr global i64 0, align 8
@y = local_unnamed_addr global i64 0, align 8
@pnum = local_unnamed_addr global i32 0, align 4
@tpnums = local_unnamed_addr global i32 0, align 4
@.str = private unnamed_addr constant [73 x i8] c"%sWARN: Unable to max out priority. Did you not run this app as root?%s\0A\00", align 1
@.str.1 = private unnamed_addr constant [6 x i8] c"\1B[33m\00", align 1
@.str.2 = private unnamed_addr constant [5 x i8] c"\1B[0m\00", align 1
@.str.3 = private unnamed_addr constant [14 x i8] c"--printdigits\00", align 1
@.str.4 = private unnamed_addr constant [11 x i8] c"--nodigits\00", align 1
@.str.5 = private unnamed_addr constant [13 x i8] c"--dumpdigits\00", align 1
@.str.6 = private unnamed_addr constant [17 x i8] c"--singlethreaded\00", align 1
@.str.7 = private unnamed_addr constant [16 x i8] c"--multithreaded\00", align 1
@stderr = external local_unnamed_addr global %struct._IO_FILE*, align 8
@.str.8 = private unnamed_addr constant [695 x i8] c"%sError: Invalid command-line arguments!%s\0AUsage: cpubench [value] [threading] [parameter]\0AValue: Any number from 1 to 2^32-1\0A(in case of single threaded bench, it will be used to compute primes from 1 to n (where n = value between 1 and 2^32-1) or n digits of PI (where n = value between 1 and 2^32-1)\0AParameter:\0A--printdigits : Prints all digits of PI on console\0A--nodigits : Suppresses printing of digits of PI on console (Use this when doing multithreaded bench)\0A--dumpdigits : Saves all the digits of PI to a text file\0AThreading:\0A--singlethreaded : Stresses only one core (PI)\0A--multithreaded : Stresses all the cores (PRIMES)\0A\0AUsage example: cpubench 50000 --singlethreaded --printdigits\0A\00", align 1
@.str.9 = private unnamed_addr constant [6 x i8] c"\1B[31m\00", align 1
@.str.10 = private unnamed_addr constant [67 x i8] c"%s\0A---------------------------------------------------------------\00", align 1
@.str.11 = private unnamed_addr constant [6 x i8] c"\1B[32m\00", align 1
@.str.12 = private unnamed_addr constant [45 x i8] c"\0ACPU Bench v1.0 beta (%s)\0ABuild date: %s %s\0A\00", align 1
@.str.13 = private unnamed_addr constant [12 x i8] c"Feb 22 2021\00", align 1
@.str.14 = private unnamed_addr constant [9 x i8] c"13:55:31\00", align 1
@.str.15 = private unnamed_addr constant [68 x i8] c"---------------------------------------------------------------%s\0A\0A\00", align 1
@.str.16 = private unnamed_addr constant [41 x i8] c"%sError: Digit cannot be lower than 1%s\0A\00", align 1
@.str.17 = private unnamed_addr constant [76 x i8] c"Performing single-threaded benchmarking [PI]\0AComputing %lu digits of PI...\0A\00", align 1
@.str.18 = private unnamed_addr constant [31 x i8] c"Here are the digits:\0A\0A%.1s.%s\0A\00", align 1
@.str.19 = private unnamed_addr constant [13 x i8] c"pidigits.txt\00", align 1
@.str.20 = private unnamed_addr constant [2 x i8] c"w\00", align 1
@.str.21 = private unnamed_addr constant [30 x i8] c"%sError while opening file%s\0A\00", align 1
@.str.22 = private unnamed_addr constant [9 x i8] c"%.1s.%s\0A\00", align 1
@.str.23 = private unnamed_addr constant [37 x i8] c"MD5 checksum (for verification): %s\0A\00", align 1
@.str.24 = private unnamed_addr constant [79 x i8] c"Performing multi-threaded benchmarking [Primes]\0AComputing primes under %lu...\0A\00", align 1
@.str.25 = private unnamed_addr constant [28 x i8] c"Total primes found are %lu\0A\00", align 1
@.str.26 = private unnamed_addr constant [4 x i8] c"%lu\00", align 1
@.str.27 = private unnamed_addr constant [10 x i8] c"Goodbye!\0A\00", align 1
@start = common global %struct.timespec zeroinitializer, align 8
@end = common global %struct.timespec zeroinitializer, align 8
@pstart = common global %struct.timespec zeroinitializer, align 8
@pend = common global %struct.timespec zeroinitializer, align 8
@i = common local_unnamed_addr global i64 0, align 8
@ti = common local_unnamed_addr global i64 0, align 8
@constant1 = common local_unnamed_addr global i64 0, align 8
@constant2 = common local_unnamed_addr global i64 0, align 8
@constant3 = common local_unnamed_addr global i64 0, align 8
@precision = common local_unnamed_addr global i64 0, align 8
@digest = common global [16 x i8] zeroinitializer, align 16
@oput = common local_unnamed_addr global i8* null, align 8
@u = common local_unnamed_addr global i32 0, align 4
@bits = common local_unnamed_addr global double 0.000000e+00, align 8
@v1 = common global [1 x %struct.__mpz_struct] zeroinitializer, align 16
@v2 = common global [1 x %struct.__mpz_struct] zeroinitializer, align 16
@v3 = common global [1 x %struct.__mpz_struct] zeroinitializer, align 16
@v4 = common global [1 x %struct.__mpz_struct] zeroinitializer, align 16
@v5 = common global [1 x %struct.__mpz_struct] zeroinitializer, align 16
@V1 = common global [1 x %struct.__mpf_struct] zeroinitializer, align 16
@V2 = common global [1 x %struct.__mpf_struct] zeroinitializer, align 16
@V3 = common global [1 x %struct.__mpf_struct] zeroinitializer, align 16
@total = common global [1 x %struct.__mpf_struct] zeroinitializer, align 16
@tmp = common global [1 x %struct.__mpf_struct] zeroinitializer, align 16
@res = common global [1 x %struct.__mpf_struct] zeroinitializer, align 16
@exponent = common global i64 0, align 8
@context = common global %struct.MD5state_st zeroinitializer, align 4
@.str.28 = private unnamed_addr constant [24 x i8] c"Total iterations: %lu\0A\0A\00", align 1
@.str.29 = private unnamed_addr constant [34 x i8] c"Done!\0A\0ATime taken (seconds): %lf\0A\00", align 1
@.str.30 = private unnamed_addr constant [5 x i8] c"%02x\00", align 1
KKimj commented 3 years ago

image

KKimj commented 3 years ago

image