Skip to content
Snippets Groups Projects
Verified Commit a5f03936 authored by Jamie Willis's avatar Jamie Willis
Browse files

added clashNames example

parent 55b6a1e8
Branches master
No related tags found
No related merge requests found
# we should be able to use any function names, even if they clash with libc
# Output:
# Exit:
# 101
# Program:
begin
int malloc() is return 42 end
int scanf() is return 37 end
int printf() is return 20 end
int puts() is return 2 end
int u = call malloc();
int x = call scanf();
int y = call printf();
int z = call puts();
exit (u + x + y + z)
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment