mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2789] Source tree clean-up / reorganize #1791
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1791
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @magnumripper on GitHub (Sep 26, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2789
It was brought up recently in a mail discussion that our source tree is "disorganized" with like "800 source files in a single directory". This is absolutely true. I'm so used to it I haven't cared much about it. Making it better should be pretty easy. Here are two easy steps for making it a little better:
src/plugins. That will half the number of files directly undersrc...src, they should either go tosrc/opencllike the kernels - or perhapssrc/opencl/includeif we want to.After that, it gets trickier to get lots of improvement with little work but we can probably find out a couple more things.
@frank-dittrich commented on GitHub (Sep 26, 2017):
we could also move all non-plugin formats into a separate directory (formats?), and all source files which are not used to build john, but separate binaires, into another directory (tools?).
@magnumripper commented on GitHub (Sep 26, 2017):
Agreed, except we can't move any core (a.k.a. "john proper") files unless that change comes from "upstream".
Theoretically we could have something like this tho'
@magnumripper commented on GitHub (Sep 26, 2017):
Most plugin headers aren't named
plug(as they don't need to), eg.dmg_common_plug.cvs.dmg_common.h, so the header figures above are way low.@ghost commented on GitHub (Nov 3, 2017):
Anyone with perl skills can change plugin_deps.pl? The
-f $objectat line 30 has to #include (at least):I tried, but the result is ridiculous:
@solardiz commented on GitHub (Nov 3, 2017):
Maybe @AlekseyCherepanov would want to help with Perl.