Repository navigation
Tags
Tags
application: Wait for cancellation on stdin EOF With stdin redirected from /dev/null, readline() returns "" right away, so await_enter() stopped the reactor before frida-pull and frida-push did their work, and await_ctrl_c() spun at 100% CPU. When stdin is not a terminal, EOF means no line will ever arrive, so block until cancelled. On a terminal an empty read is Ctrl-D, which still returns as before.
application: Add --env for spawn environments --aux can only pass string, bool and int values to Device.spawn(), while the env/envp options take a mapping, so there was no way to set an environment variable when spawning, e.g. DISABLE_TWAKS=1 to work around ellekit crashes on iOS. Add a repeatable --env KEY=VALUE that feeds the env parameter, which merges into the environment the spawn would otherwise inherit. Fixes #193
repl: Render evaluated values richly Encode each result into a bounded tagged tree in the agent so serializing cyclic or huge objects can never hang, then pretty-print it host-side with syntax highlighting, depth and breadth caps, and a hexdump for binary data.
PreviousNext