Or maybe is sim's up_assert() wrong to exit simulation? Thinking about it, doing up_assert() (which would just print the error) and exit() would indeed exit the app only.
On Sat, Mar 27, 2021, at 16:30, Matias N. wrote: > I was using assert in an app (testing on sim) and realized the sim exited > upon hitting the assert. From the code I see it calls into up_assert() (which > would also be a violation of OS/Userspace separation AFAIK). > What about writing a similar simple function that only sends the message to > syslog and does exit() so the app exists? > This would only be for lowercase assert() of course. > > Best, > Matias