Repository navigation
v1.8.0
- Removed YARA. The
yarasubcommand,info --rules, and the yara-x
dependency are gone. Rule matching was a second opinion bolted onto triage
rather than something the tool could reason about; capability detection,
the constant scanner, and the transparent verdict score carry the triage
story on their own, and the build drops its one heavyweight dependency. - The pseudocode reads the arithmetic UCRT and MSVC actually emit. On
ucrtbase.dll the share of instructions left as verbatim assembly fell from
2.86% to 0.62% (7,079 to 1,527 of 247,363), and the functions containing any
fell from 1,088 to 520:- AVX is read like its legacy twins. ucrtbase is built with VEX encodings,
and everyv-prefixed instruction was a comment: the moves (including the
three-operandvmovsd xmm1, xmm2, xmm3, which copies its last source),
the scalar arithmetic and compares, the zeroing xors, and the scalar FMA
family, which now reads as thea * b + cone rounding computes. sbb reg, reg— MSVC's branchless comparison — reads as the borrow it
is:(a < b) ? -1 : 0after acmp,value != 0 ? -1 : 0after a
neg, and plain zero after atest/and/or, whose cleared carry is
defined. A borrow this lifter cannot trace stays assembly.bt/bts/btrread the bit they test into the branch that follows:
bts eax, 7iseax = eax | (1 << 7)and thejcafter abtasks
whether((value >> 7) & 1) == 1.- The one-operand widening multiply states both halves; the three-operand
imul dst, src, immno longer multiplies into the old destination
(it printedeax = eax * ecxforimul eax, ecx, 5, a different
product); BMI2shlx/shrx/sarxread as shifts; a rotate by an
immediate expands to its exact two shifts; the AVX conversions read as
the casts they are; andint3padding andvzeroupperare dropped.
- AVX is read like its legacy twins. ucrtbase is built with VEX encodings,
- A
retprints the value propagation recovered —return 0x0, not
eax = 0x0; return rax— and the redundant assignment goes with it. knifewith no argument opens a file explorer instead of printing usage.
Directories sort first, PE/ELF/Mach-O/archive files carry a badge sniffed
from their magic bytes,/filters by name, and Enter hands the file to
the analysis workspace. Quitting the workspace returns to the explorer in
the same directory, so a folder of samples is one keypress per file.
knife tuiwithout a file andknife <directory>do the same.- Split comparison in the TUI.
:splitclones the active listing into a
second column and:compare FUNCpins a function (or a data view) there,
so two functions sit side by side while the active pane keeps roaming.
Tab walks between the columns; each keeps its own cursor, view mode,
in-listing search and back/forward history. The references pane hides
while split;:only(or:closeon the listing) collapses back to one. :reloadre-reads the target from disk and re-analyses it on a background
worker, so a rebuilt or unpacked sample lands without restarting the
session. Pane layout, filters and bookmarks survive; navigation into the
old image does not. Annotations follow content identity: an unchanged file
reloads into the same database, a changed file starts a fresh one, and a
failed reload keeps the old session untouched.:gotoaccepts explicit address modes:off:0xOFFSET(aliasfile:)
converts a file offset through the section table, andva:0xADDRESSpins
a value to the static-VA space even when a symbol shares the text. Miss
errors show the address as typed instead of adding the image base twice.- A target with no recovered functions no longer refuses to open: the
workspace starts on the first mapped bytes and the section, string and
import catalogs stay available. - Terminals below 24x6 show a resize notice instead of clipped fragments,
and the README is half its former length.
Full Changelog: v1.7.0...v1.8.0