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
9f87e60e
Commit
9f87e60e
authored
2 years ago
by
apriestman
Browse files
Options
Downloads
Patches
Plain Diff
Rename file system list for clarity
parent
04f2ddc6
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
tsk/auto/auto.cpp
+5
-5
5 additions, 5 deletions
tsk/auto/auto.cpp
tsk/auto/tsk_auto.h
+2
-2
2 additions, 2 deletions
tsk/auto/tsk_auto.h
with
7 additions
and
7 deletions
tsk/auto/auto.cpp
+
5
−
5
View file @
9f87e60e
...
@@ -38,7 +38,7 @@ TskAuto::TskAuto()
...
@@ -38,7 +38,7 @@ TskAuto::TskAuto()
TskAuto
::~
TskAuto
()
TskAuto
::~
TskAuto
()
{
{
closeImage
();
closeImage
();
m_
f
sInfoList
.
clear
();
// Don't close the file systems that were passed in
m_
exteralF
sInfoList
.
clear
();
// Don't close the file systems that were passed in
m_tag
=
0
;
m_tag
=
0
;
}
}
...
@@ -189,10 +189,10 @@ void
...
@@ -189,10 +189,10 @@ void
* instead of opening a new copy.
* instead of opening a new copy.
*/
*/
void
void
TskAuto
::
set
Open
FileSystem
s
(
std
::
list
<
TSK_FS_INFO
*>
fsInfoList
)
TskAuto
::
set
External
FileSystem
List
(
std
::
list
<
TSK_FS_INFO
*>
fsInfoList
)
{
{
m_
f
sInfoList
.
resize
(
fsInfoList
.
size
());
m_
exteralF
sInfoList
.
resize
(
fsInfoList
.
size
());
m_
f
sInfoList
.
assign
(
fsInfoList
.
begin
(),
fsInfoList
.
end
());
m_
exteralF
sInfoList
.
assign
(
fsInfoList
.
begin
(),
fsInfoList
.
end
());
}
}
/**
/**
...
@@ -563,7 +563,7 @@ TSK_RETVAL_ENUM
...
@@ -563,7 +563,7 @@ TSK_RETVAL_ENUM
}
}
// If we already have an open copy of this file system, use it
// If we already have an open copy of this file system, use it
for
(
auto
itr
=
m_
f
sInfoList
.
begin
();
itr
!=
m_
f
sInfoList
.
end
();
itr
++
)
{
for
(
auto
itr
=
m_
exteralF
sInfoList
.
begin
();
itr
!=
m_
exteralF
sInfoList
.
end
();
itr
++
)
{
if
((
*
itr
)
->
offset
==
a_start
)
{
if
((
*
itr
)
->
offset
==
a_start
)
{
TSK_FS_INFO
*
fs_info
=
*
itr
;
TSK_FS_INFO
*
fs_info
=
*
itr
;
TSK_RETVAL_ENUM
retval
=
findFilesInFsInt
(
fs_info
,
fs_info
->
root_inum
);
TSK_RETVAL_ENUM
retval
=
findFilesInFsInt
(
fs_info
,
fs_info
->
root_inum
);
...
...
This diff is collapsed.
Click to expand it.
tsk/auto/tsk_auto.h
+
2
−
2
View file @
9f87e60e
...
@@ -100,7 +100,7 @@ class TskAuto {
...
@@ -100,7 +100,7 @@ class TskAuto {
void
setFileFilterFlags
(
TSK_FS_DIR_WALK_FLAG_ENUM
);
void
setFileFilterFlags
(
TSK_FS_DIR_WALK_FLAG_ENUM
);
void
setVolFilterFlags
(
TSK_VS_PART_FLAG_ENUM
);
void
setVolFilterFlags
(
TSK_VS_PART_FLAG_ENUM
);
void
set
Open
FileSystem
s
(
std
::
list
<
TSK_FS_INFO
*>
f
sInfoList
);
void
set
External
FileSystem
List
(
std
::
list
<
TSK_FS_INFO
*>
exteralF
sInfoList
);
/**
/**
* TskAuto calls this method before it processes the volume system that is found in an
* TskAuto calls this method before it processes the volume system that is found in an
...
@@ -265,7 +265,7 @@ class TskAuto {
...
@@ -265,7 +265,7 @@ class TskAuto {
protected
:
protected
:
TSK_IMG_INFO
*
m_img_info
;
TSK_IMG_INFO
*
m_img_info
;
std
::
vector
<
const
TSK_POOL_INFO
*>
m_poolInfos
;
std
::
vector
<
const
TSK_POOL_INFO
*>
m_poolInfos
;
std
::
list
<
TSK_FS_INFO
*>
m_
f
sInfoList
;
std
::
list
<
TSK_FS_INFO
*>
m_
exteralF
sInfoList
;
// Stores TSK_FS_INFO structures that were opened outside of TskAuto and passed in
bool
m_internalOpen
;
///< True if m_img_info was opened in TskAuto and false if passed in
bool
m_internalOpen
;
///< True if m_img_info was opened in TskAuto and false if passed in
bool
m_stopAllProcessing
;
///< True if no further processing should occur
bool
m_stopAllProcessing
;
///< True if no further processing should occur
...
...
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