Releases: kxxt/tracexec
Releases · kxxt/tracexec
v0.1.0-rc.0
tracexec v0.1.0-rc.0 released!
Added
- TUI: toggle showing/hiding the environment variables by pressing
E
. - CI: initialize Continuous Integration with GitHub Actions.
- CI: setup cargo-deny and cargo-about.
Fixed
- TUI: don't select past the last event.
- TUI: don't display header before cmdline in details popup.
- Don't set
SHELL
if it is not present in the environment. - Test: add more details for assertion failures.
Changed
- Use
BTreeMap
to make environment variables sorted and deterministic. - TUI: show fd at last to make argv more visible.
- TUI: pty pane's title is now "Terminal" instead of "Pseudo Terminal".
- docs: update README for 0.1.0
v0.1.0-beta.3
tracexec v0.1.0-beta.3 released!
This should be the last beta release before v0.1.0. All the features I want in v0.1.0 are already implemented.
I am starting to add some tests and looking for bugs to fix.
Changes since v0.1.0-beta.2:
Added
- TUI: Display file descriptor flags in the FdInfo tab of the details popup.
Fixed
- Don't crash if
tcsetpgrp
returnsENOTTY
- It's now documented that
--color
has no effect on TUI. - Some typos.
Changed
- TUI: Copy popup now has a green border.
v0.1.0-beta.2
tracexec v0.1.0-beta.2 released!
Changes since v0.1.0-beta.1:
Added
- Tracing and diffing file descriptors.
- Option to show stdio/fds in cmdline.
- TUI: show detailed information of file descriptors in the FdInfo tab of details popup.
Changed
- Update dependencies.
- TUI: Make CLI flags in help dialog more readable.
- Warn if argv is empty.
- Warn on bad envp/argv/filename.
- Log:
--show-cmdline
no longer implies--successful-only
- Warnings are now shown in TUI/Log mode.
--verbose/--quiet
is removed from CLI. Use--filter/--filter-include/--filter-exclude
instead.
Fixed
- Don't crash when tracee closes its stdio.
- TUI: fix truncated tabs.
v0.1.0-beta.1
tracexec v0.1.0-beta.1 released!
Changes since v0.1.0-alpha.8:
Added
- Add "Environment" tab to the details popup in TUI.
- Add scroll bars to event list in TUI.
- Handle argv[0] in logging mode.
- Send
Ctrl+S
to pty by pressingAlt+S
when event list is active in TUI.
Changed
- TUI now automatically selects the first/last event when the list is scrolled to the top/bottom or page up/down.
- In logging mode, the color of pid now matches TUI.
Fixed
- Don't use option separator
-
in cmdline because it implies--ignore-environment
. - Fix the logic of argv[0] handling for both logging and TUI mode.
- Handle edge cases for the TUI event list when there are no events.
- Two off-by-one errors in the TUI event list.
- Clean up legacy code in pseduo terminal handling.
- Some typos.
v0.1.0-alpha.8
tracexec v0.1.0-alpha.8 released!
Changes since v0.1.0-alpha.7:
Added/Changed
- TUI: show basic statistics of events
- TUI: change colors for exec results.
- TUI: set frame rate from CLI by
--frame-rate/-F
option. - TUI: default frame rate is now 60(previously 30).
- TUI: Add more details and scrollbar to the details popup.
- TUI: Copy to clipboard now works for the details popup.
Optimizations
- Tweak tokio worker thread count.
- Reduce idle CPU usage in TUI mode.
- Lines and List are now cached for the event list.
Fixed
- The formatting of interpreters now correctly respects color settings(e.g. NO_COLOR).
v0.1.0-alpha.7
tracexec v0.1.0-alpha.7 released!
Changes since v0.1.0-alpha.6:
Added/Changed
- TUI: A basic details view is added.
- TUI: Copy to clipboard feature is added.
- TUI: Press any key to close the help dialog.
- Internal refactor and optimization.
v0.1.0-alpha.6
tracexec v0.1.0-alpha.6 released!
Changes since v0.1.0-alpha.5:
Added/Changed
- The panes in the TUI can now be resized by
G
andS
keys. - Vertical layout for the TUI is now supported. Use
--layout vertical
to enable it.
(Or dynamically switch between horizontal and vertical layout byAlt+L
in the TUI) - Line wrapping for bottom help text in the TUI.
- Hide navigation key bindings from the bottom help text in the TUI.
- Show verbose help text in the TUI when pressing
F1
. - In TUI, failed exec events with
ENOENT
are now given a special color. - Update the style of selected items and arg0 for the TUI.
- Title now shows on the left top corner in the TUI (alongside version).
- Scroll to (start/end)/top/bottom in the TUI by
(Shift + ) Home/End
keys.
Fixed
- Don't render the TUI when the terminal is too small
- Don't horizontally scroll past content.
v0.1.0-alpha.5
tracexec v0.1.0-alpha.5 released!
Changes since v0.1.0-alpha.4:
Added
- Horizontal scrolling in the TUI
- Use
Ctrl+S
to switch active pane in the TUI - Event filter option(--filter). (Meanwhile, the tracing args are dropped for TUI mode)
- Option to set default active pane for TUI in the command line
- PageUp/PageDown/PageLeft/PageRight to scroll faster in the TUI
Changed
- Tracer thread now is named
tracer
. - Optimization: only render the visible part of the events in the TUI.
- PTY master is now closed when TUI exits.
- TUI now shows the cmdline for exec events.
Fixed
- Fix hang when root child is stopped by other signals before ptrace is setup
- Fix selection and resize for the event list in the TUI
- Fix that TUI doesn't display failed exec events
- Some typos
v0.1.0-alpha.4
tracexec v0.1.0-alpha.4 released!
Changes since v0.1.0-alpha.3:
New Features
- Added
-C
option to change the working directory of tracexec. - Added terminate/kill on exit option to TUI command.
- Added
--user
option to run as a different user. (This is mostly useful for tracing setuid/setgid binaries. Thanks to strace for the idea.)- Automatically disable seccomp-bpf when using
--user
because seccomp-bpf enforces no-new-privs.
- Automatically disable seccomp-bpf when using
Fixes
- Fix wrong cwd used to spawn child processes. This bug was introduced when switching to use
CommandBuilder
in v0.1.0-alpha.3. - Fix
RUST_LOG
env var getting overwritten by tracexec. tracexec should not touch the environment variables at all.
v0.1.0-alpha.3
tracexec v0.1.0-alpha.3 released!
Changes since v0.0.5:
- Added experimental TUI command.
- Logs are no longer output to stderr, but saved to a file instead.
- Internal refactor.