Skip to content

Commit

Permalink
Clean up experiments.s
Browse files Browse the repository at this point in the history
  • Loading branch information
MyNameIsTrez committed Jan 31, 2025
1 parent daf8870 commit e130c3d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions experiments.s
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
; clear && nasm experiments.s -f elf64 -O0 && objdump -d experiments.o -M intel && clang experiments.o -z noexecstack && ./a.out

extern grug_max_time

%define GRUG_ON_FN_TIME_LIMIT_EXCEEDED 2
%define CLOCK_PROCESS_CPUTIME_ID 2
%define TV_SEC_OFFSET 0
%define TV_NSEC_OFFSET 8
%define GRUG_ON_FN_TIME_LIMIT_MS 10
%define NS_PER_MS 1000000
%define NS_PER_SEC 1000000000

global main
main:
jmp short $+0x16
; jmp foo
; nop
; nop
; foo:
; nop
ret

0 comments on commit e130c3d

Please sign in to comment.