Compare commits

..

No commits in common. "ee5fcc2e24b3acb40f3131e6e4b6a18c8592a2b8" and "076d8c3d6e7fd88bb9fc00cca504011111e68a3b" have entirely different histories.

5 changed files with 118 additions and 636 deletions

3
.gitignore vendored
View file

@ -1,3 +0,0 @@
a.out
*.o
.vscode

View file

@ -1,3 +0,0 @@
set disassembly-flavor intel
set style enabled on
disas main

732
index.js

File diff suppressed because it is too large Load diff

12
input.c
View file

@ -1,12 +1,6 @@
// #include<elf.h>
//#include<elf.h>
int main(int argc, int argv)
int main(int argc)
{
int x = 100;
return thisismyfakeconstantbecauseidonthaveconstant(x - 1);
}
int thisismyfakeconstantbecauseidonthaveconstant(int x)
{
return 1 + 1;
// exit(42);
}

View file

@ -1,3 +1,3 @@
{ pkgs ? import <nixpkgs> { } }: pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nodejs_22 llvmPackages_18.lld llvmPackages_18.clang ];
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell {
nativeBuildInputs = with pkgs; [ nodejs_22 ];
}