Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sleuthkit
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IRT
Sleuthkit
Commits
d00fa1f9
Commit
d00fa1f9
authored
5 years ago
by
apriestman
Browse files
Options
Downloads
Patches
Plain Diff
Add filterPool to gettimes to allow pools to be processed.
Fix error message in TskAuto::filterPool.
parent
cac66f41
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/autotools/tsk_gettimes.cpp
+9
-0
9 additions, 0 deletions
tools/autotools/tsk_gettimes.cpp
tsk/auto/auto.cpp
+1
-1
1 addition, 1 deletion
tsk/auto/auto.cpp
with
10 additions
and
1 deletion
tools/autotools/tsk_gettimes.cpp
+
9
−
0
View file @
d00fa1f9
...
...
@@ -46,6 +46,7 @@ class TskGetTimes:public TskAuto {
TskGetTimes
(
int32_t
,
bool
);
virtual
TSK_RETVAL_ENUM
processFile
(
TSK_FS_FILE
*
fs_file
,
const
char
*
path
);
virtual
TSK_FILTER_ENUM
filterVol
(
const
TSK_VS_PART_INFO
*
vs_part
);
virtual
TSK_FILTER_ENUM
filterPool
(
const
TSK_POOL_INFO
*
pool_info
);
virtual
TSK_FILTER_ENUM
filterPoolVol
(
const
TSK_POOL_VOLUME_INFO
*
pool_vol
);
virtual
TSK_FILTER_ENUM
filterFs
(
TSK_FS_INFO
*
fs_info
);
virtual
uint8_t
handleError
();
...
...
@@ -125,6 +126,14 @@ TskGetTimes::filterVol(const TSK_VS_PART_INFO * vs_part)
return
TSK_FILTER_CONT
;
}
TSK_FILTER_ENUM
TskGetTimes
::
filterPool
(
const
TSK_POOL_INFO
*
pool_info
)
{
// There's nothing to do, but we need to override this to allow the pool
// to be processed.
return
TSK_FILTER_CONT
;
}
TSK_FILTER_ENUM
TskGetTimes
::
filterPoolVol
(
const
TSK_POOL_VOLUME_INFO
*
pool_vol
)
...
...
This diff is collapsed.
Click to expand it.
tsk/auto/auto.cpp
+
1
−
1
View file @
d00fa1f9
...
...
@@ -220,7 +220,7 @@ TSK_FILTER_ENUM
TskAuto
::
filterPool
(
const
TSK_POOL_INFO
*
/*pool_info*/
)
{
/* Most of our tools can't handle pool volumes yet */
if
(
tsk_verbose
)
fprintf
(
stderr
,
"filterPool
Vol
: Pool handling is not yet implemented for this tool
\n
"
);
fprintf
(
stderr
,
"filterPool: Pool handling is not yet implemented for this tool
\n
"
);
return
TSK_FILTER_SKIP
;
}
...
...
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