fbsamples / fbctf-2019-challenges
Features of Interest
Aspects in the source code identified through RegEx patterns.
Intro
Features of interest are any aspects of a software system that can be identified through patterns in code.
Features of interest provide you with a way to focus your attention on relevant parts of the codebase.
Typical examples include, security, TODOs, logging.
A feature of interest may be present in multiple files. Any source code file may be in zero or multiple features of interest.
Overview
GENERAL
TODOs
889 LOC (5%)
6 files
|
found text
|
found text per file
1 GENERAL Concerns
The "general" group contains
2
concerns.
TODOs
Unclassified
general
1.1 TODOs
889 LOC (5%)
6 files
|
found text
|
found text per file
The following criteria are used to filter files:
files with any line of content like "
.*(TODO|FIXME)( |:| ).*
".
6
files match defined criteria (
889
lines of code,
5.4%
vs. main code):
1
*.go files (
417
lines of code)
4
*.py files (
417
lines of code)
1
*.c files (
55
lines of code)
8
lines match the content pattern.
details...
per component - primary logical decomposition
web/secret_note_keeper
in 3 files, 360 LOC (52%)
reversing/nomoreseacrypts
in 1 file 57 LOC (9%)
misc/j0hnny_5
in 1 file 417 LOC (84%)
crypto/netscream
in 1 file 55 LOC (14%)