Compare commits
No commits in common. "ee5fcc2e24b3acb40f3131e6e4b6a18c8592a2b8" and "076d8c3d6e7fd88bb9fc00cca504011111e68a3b" have entirely different histories.
ee5fcc2e24
...
076d8c3d6e
5 changed files with 118 additions and 636 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -1,3 +0,0 @@
|
||||||
a.out
|
|
||||||
*.o
|
|
||||||
.vscode
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
||||||
set disassembly-flavor intel
|
|
||||||
set style enabled on
|
|
||||||
disas main
|
|
||||||
12
input.c
12
input.c
|
|
@ -1,12 +1,6 @@
|
||||||
// #include<elf.h>
|
//#include<elf.h>
|
||||||
|
|
||||||
int main(int argc, int argv)
|
int main(int argc)
|
||||||
{
|
{
|
||||||
int x = 100;
|
// exit(42);
|
||||||
return thisismyfakeconstantbecauseidonthaveconstant(x - 1);
|
|
||||||
}
|
|
||||||
|
|
||||||
int thisismyfakeconstantbecauseidonthaveconstant(int x)
|
|
||||||
{
|
|
||||||
return 1 + 1;
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
{ pkgs ? import <nixpkgs> { } }: pkgs.mkShell {
|
{ pkgs ? import <nixpkgs> {} }: pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [ nodejs_22 llvmPackages_18.lld llvmPackages_18.clang ];
|
nativeBuildInputs = with pkgs; [ nodejs_22 ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue