Skip to content

Commit

Permalink
chore: release 0.1.0-beta.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kxxt committed May 4, 2024
1 parent 64e310c commit 301eb65
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 12 deletions.
47 changes: 37 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
# Changelog

## v0.1.0-beta.2

tracexec v0.1.0-beta.2 released!

![tracexec v0.1.0-beta.2](https://github.com/kxxt/tracexec/blob/main/screenshots/0.1.0-beta.2.gif?raw=true)

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!
Expand Down Expand Up @@ -46,7 +75,7 @@ Changes since v0.1.0-alpha.7:

- Tweak tokio worker thread count.
- Reduce idle CPU usage in TUI mode.
- Lines and List are now cached for the event list.
- Lines and List are now cached for the event list.

### Fixed

Expand Down Expand Up @@ -77,7 +106,7 @@ Changes since v0.1.0-alpha.5:

- The panes in the TUI can now be resized by `G` and `S` keys.
- Vertical layout for the TUI is now supported. Use `--layout vertical` to enable it.
(Or dynamically switch between horizontal and vertical layout by `Alt+L` in the TUI)
(Or dynamically switch between horizontal and vertical layout by `Alt+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`.
Expand Down Expand Up @@ -132,7 +161,7 @@ Changes since v0.1.0-alpha.3:
- 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 `--user` because seccomp-bpf enforces no-new-privs.

![tracexec tracing across setuid binaries](https://github.com/kxxt/tracexec/blob/6fac526/screenshots/trace-suid.png?raw=true)

Expand All @@ -141,7 +170,6 @@ Changes since v0.1.0-alpha.3:
- 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!
Expand All @@ -159,8 +187,8 @@ tracexec v0.0.5 released!
Changes since v0.0.4:

- Seccomp-bpf optimization is implemented and enabled by default. This almost reduces the performance overhead of tracexec to zero.
- `--seccomp-bpf` option is added to control this feature.
- Added a warning when running on untested low kernel versions (<4.8).
- `--seccomp-bpf` option is added to control this feature.
- Added a warning when running on untested low kernel versions (<4.8).
- Bug fixes for `--no-show-env`.
- List is now highlighted when using `--more-colors`.

Expand All @@ -169,8 +197,8 @@ Changes since v0.0.4:
Changes since v0.0.4:

- Seccomp-bpf optimization is implemented and enabled by default. This almost reduces the performance overhead of tracexec to zero.
- `--seccomp-bpf` option is added to control this feature.
- Added a warning when running on untested low kernel versions (<4.8).
- `--seccomp-bpf` option is added to control this feature.
- Added a warning when running on untested low kernel versions (<4.8).
- Bug fixes for `--no-show-env`.
- List is now highlighted when using `--more-colors`.

Expand Down Expand Up @@ -235,7 +263,7 @@ Changes since v0.0.0-experimental.7:
- --print-cmdline: show cmdline hint
- more colors
- deps: update shell-quote to 0.3.2, which makes the output of `--print-cmdline` more aesthetically pleasing.
- feat: --print-children for a message when a child is created
- feat: --print-children for a message when a child is created
- docs: update README.
- Github: add release workflow

Expand All @@ -246,7 +274,6 @@ Changes since v0.0.0-experimental.7:
- Fix code that previously relies on x86_64 specific behaviors.
- feat: also trace execveat


## v0.0.0-experimental.4

- fix: handle ESRCH in ptrace requests
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tracexec"
version = "0.1.0-beta.1"
version = "0.1.0-beta.2"
edition = "2021"
authors = ["Levi Zim <[email protected]>"]
description = "A small utility for tracing execve{,at}"
Expand Down
Binary file added screenshots/0.1.0-beta.2.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 301eb65

Please sign in to comment.