Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
turbo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
turbo
Commits
069bb227
Commit
069bb227
authored
5 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
first db schema
parent
e3227ee2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
turbod/schema/schema.sql
+67
-0
67 additions, 0 deletions
turbod/schema/schema.sql
with
67 additions
and
0 deletions
turbod/schema/schema.sql
0 → 100644
+
67
−
0
View file @
069bb227
create
type
InputProvenance
as
ENUM
(
'User'
,
'AFL'
,
'QSym'
,
'Unknown'
);
create
table
if
not
exists
boosts
(
boost_id
serial
primary
key
,
boost_name
bytea
,
create_time
timestamp
);
create
table
if
not
exists
boost_versions
(
ver_id
serial
primary
key
,
boost_id
integer
references
boosts
(
boost_id
),
orig_binary
bytea
,
orig_bin_sha
bytea
,
zafl_binary
bytea
,
zafl_bin_sha
bytea
,
submit_time
timestamp
,
start_time
timestamp
,
end_time
timestamp
,
err
bool
);
create
table
if
not
exists
inputs
(
input_id
serial
primary
key
,
boost_id
integer
references
boosts
(
boost_id
),
create_time
timestamp
,
prov
InputProvenance
,
input_data
bytea
,
sha256
bytea
);
create
table
if
not
exists
forensics
(
forensic_id
serial
primary
key
,
input_id
integer
references
inputs
(
input_id
),
ver_id
integer
references
boost_versions
(
ver_id
),
exit_code
integer
,
backtrace
bytea
,
prov
InputProvenance
);
create
table
if
not
exists
seeds
(
seed_id
serial
primary
key
,
input_id
integer
references
inputs
(
input_id
),
prov
InputProvenance
);
create
table
if
not
exists
zafl_logs
(
log_id
serial
primary
key
,
log
bytea
,
ver_id
integer
references
versions
(
ver_id
)
);
create
table
if
not
exists
fuzz_logs
(
log_id
serial
primary
key
,
log
bytea
,
ver_id
integer
references
versions
(
ver_id
),
prov
InputProvenance
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment