JDIFF(1)
π jdiff β the manual, but make it cute π
okay so. bestie. this is jdiff, from the User Commands corner of your manual pages. it's a syntactic diff of goto programs obtained from Java bytecode. that's the whole name of the game. two programs go in, you find out how they're different, and it does that at the goto-program level, not just by staring at text like some kind of animal. iconic. β¨
π¦ SYNOPSIS π¦
jdiff [-?] [-h] [--help]
show help
jdiff old new
jars to be compared
so there's basically two modes and they're both right there. one is "help me pls" and one is "compare these two jars for me." the first one is the old jar and the second one is the new jar. they're jars, like, the actual jar files, and they get compared. that's it, that's the shape of it. π
πΈ DESCRIPTION πΈ
okay so, um. the original page does not actually fill this section in. like, the heading is there and then nothing. so there's nothing for me to tell you here that wouldn't be me making stuff up, and I am not about to invent technical claims, that's not the vibe. everything you actually need lives in the NAME and the OPTIONS below, and honestly the options section is the main character here. go read that. π«Ά
β¨ OPTIONS β¨
π Diff options:
these are the ones that decide what you're looking at and how it gets printed. pick your fighter.
--show-goto-functionsβ show the loaded goto program. like, actually display it. let it be seen. π--list-goto-functionsβ list the loaded goto functions. just the list, no big display moment.--show-propertiesβ show the properties, but don't run the analysis. you're peeking, not computing.--show-loopsβ show the loops in the programs. we love a loop reveal. π-u|--unifiedβ output a unified diff. the classic. the format you already know and love.--change-impact| β output unified diff with forward & backward dependencies.--forward-impact| β output unified diff with forward dependencies.--backward-impactβ output unified diff with backward dependencies. (yes, these three are listed together like that up there, and they all do the unified-diff thing but with a different flavor of dependencies. change = forward & backward, forward = forward, backward = backward. slay.)--compact-outputβ output dependencies in compact mode. less sprawl, more density. π
π§ Program instrumentation options:
now we're getting into the "poke at the program while we look at it" territory. handle with care, these change what gets tracked.
--no-assertionsβ ignore user assertions. like they were never there. π--no-assumptionsβ ignore user assumptions. same energy.--cover CCβ Add instrumentation as used withjbmc(1)for creating a test-suite with coverage criterionCC, whereCCis one ofassertion[s],assume[s],branch[es],condition[s],cover,decision[s],location[s], ormcdc. yes, those brackets mean the singular and plural forms both work. yes,mcdcis one of them. yes, that's a real criterion. π--cover-failed-assertionsβ do not stop coverage checking at failed assertions. and heads up: this is the default for--cover assertions. so it's already on in that case, bestie.--show-test-suiteβ print the test suite for the coverage criterion. β οΈ it requires--coverβ it will not do anything cute on its own.
π Other options:
the catch-all, the leftovers, the ones that don't fit in a box. still important though, don't skip.
--versionβ show the version and exit. boom, done, out. π--json-uiβ use JSON-formatted output. for when you want your diff to be machine-readable and also kind of aesthetic.--verbosity nβ verbosity level. crank it up or down withn. talk to me or don't.--timestamp [monotonic|wall]β Print microsecond-precision timestamps.monotonic: stamps increase monotonically.wall: ISO-8601 wall clock timestamps. so you can literally see time moving. π°οΈ
π ENVIRONMENT π
- All tools honor the
TMPDIRenvironment variable when generating temporary files and directories. set it, love it, control where your temp stuff lands. π«Ά
π BUGS π
if you encounter a problem please create an issue at:
https://github.com/diffblue/cbmc/issues
that's the whole thing. don't suffer in silence, go file it. no cap.
πΈ SEE ALSO πΈ
go read those too, they're in the family. iykyk. π¦
π COPYRIGHT π
2016-2018, Daniel Kroening, Peter Schrammel
and that's the whole page, bestie π β this was jdiff from version jdiff-5.59.0, dated June 2022, filed under JDIFF(1) in the User Commands section. periodt. πβ¨
π¦ where this page comes from
- debian trixie: jbmc 6.6.0-4 Β· BSD-4-Clause
- ubuntu questing: jbmc 6.6.0-4
- ubuntu resolute: jbmc 6.6.0-4ubuntu2 Β· BSD-4-Clause
- ubuntu stonking: jbmc 6.6.0-4ubuntu2 Β· BSD-4-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms