-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
daf8870
commit e130c3d
Showing
1 changed file
with
0 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |