Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xsmith
WebAssembly Sandbox
Commits
bf42b79d
Commit
bf42b79d
authored
Jun 15, 2020
by
Guy Watson
Browse files
Add description of solution to avoiding recursive calls
parent
5f1af0e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
wasmlike/func_notes.txt
View file @
bf42b79d
...
...
@@ -47,6 +47,9 @@ I'll probably name them and refer to them by name during generation.
It might be easy to hook into the current local machinery though, and choose a random index after
adding the number of parameters to the count though.... Less work this way, but less precise.
To avoid recursive calls: each function should maintain a blacklist.
* Each function starts with itself in the list
* Whenever a call is made/generated: add the caller to the callee's list
* A function cannot call a function inside its own list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment