C source
#include <stdio.h>
int fizz_buzz(int n) {
for (int i = 0; i < n; i++) {
if (i % 3 == 0) {
printf("Fizz");
}
if (i % 5 == 0) {
printf("Buzz");
}
if (i % 5 != 0 && i % 3 != 0) {
printf("%d", i);
}
puts("");
}
return 0;
}
int main(int argc, char* argv[]) {
fizz_buzz(100);
return 0;
}
Lifted LLVM
test-fizzbuzz-elf-x64.ll.txt
Spec
test-fizzbuzz-elf-x64.spec.json.txt
Anvill Version
anvill-decompile-json version unknown
Commit Hash: afa28937c6b85e848525d12b074aa7946a8134d4
Commit Date: 2022-09-02 21:19:27 -0400
Last commit by: Ninja3047 [1284324+Ninja3047@users.noreply.github.com]
C source
Lifted LLVM
test-fizzbuzz-elf-x64.ll.txt
Spec
test-fizzbuzz-elf-x64.spec.json.txt
Anvill Version