openwall / openwall/john

ZTEX: reintroduce printing of FPGA clock rates

Open
#4,284 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement maintenance/cleanup regression
Dominant language
C
Stars
13.6k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

After #4027, JtR no longer prints the FPGA clock rates. Previously, this was printed by jtr_device_list_print at default verbosity or higher, but now this function became dead code. jtr_device_list_print_count is also dead code now. We should either reintroduce printing of the clock rates (would this somehow need to be fork-aware or not?) or drop the dead code (at least #if 0 it out, so that it's immediately clear it's unused and so that it doesn't waste space in the binary).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review #4027, then locate the definitions and callers of jtr_device_list_print and jtr_device_list_print_count. Determine whether the clock-rate output must be fork-aware; done means either restoring the expected default-verbosity output or clearly disabling/removing the unused code.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
cli, embedded-iot
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.