iovisor / ubpf

Userspace eBPF VM
Apache License 2.0
833 stars 138 forks source link

Set stack as function of max call depth #608

Closed Alan-Jowett closed 6 days ago

Alan-Jowett commented 6 days ago

This pull request includes changes to the vm/inc/ubpf.h file to update the configuration of the uBPF VM. The most important changes involve setting a default maximum number of nested calls and adjusting the default stack size accordingly.

Configuration updates:

coveralls commented 6 days ago

Coverage Status

coverage: 79.201%. remained the same when pulling e594cf286a0ed1c7a207b120a4761a5fb9695c68 on Alan-Jowett:reduce_stack_size into 94f7a4351b200a2e89b7eafa751c5e29efd22dd7 on iovisor:main.