Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Frida
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
Container Registry
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coenen, Joachim
Frida
Commits
c48296cd
Commit
c48296cd
authored
12 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
prepare file backup
parent
de15cc3f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
pub/src/commands.cpp
+12
-0
12 additions, 0 deletions
pub/src/commands.cpp
pub/src/mem.cpp
+20
-0
20 additions, 0 deletions
pub/src/mem.cpp
pub/src/mem.h
+4
-0
4 additions, 0 deletions
pub/src/mem.h
with
36 additions
and
0 deletions
pub/src/commands.cpp
+
12
−
0
View file @
c48296cd
...
...
@@ -64,6 +64,7 @@ bool fridaCommand( string cmd )
" ! execute shell command
\n
"
" quit terminate Frida session
\n
"
"Command groups (type initial letter for help):
\n
"
" b backup of online files
\n
"
" c curves and fits
\n
"
" d directory (inspect internal files)
\n
"
" e edit (change textual parameters)
\n
"
...
...
@@ -89,6 +90,17 @@ bool fridaCommand( string cmd )
}
else
if
(
cmd
==
"hf"
)
{
cout
<<
NFunctions
::
list
();
}
else
if
(
cmd
==
"b"
)
{
cout
<<
"Backup commands:
\n
"
" br retrieved backup copy
\n
"
" bs store copy of selected files (automatically before cf)
\n
"
;
}
else
if
(
cmd
==
"br"
)
{
NOlm
::
mem_retrieve
();
}
else
if
(
cmd
==
"bs"
)
{
NOlm
::
mem_backup
();
}
else
if
(
cmd
==
"c"
)
{
cout
<<
"Curve and fit commands:
\n
"
" cc create
\n
"
...
...
This diff is collapsed.
Click to expand it.
pub/src/mem.cpp
+
20
−
0
View file @
c48296cd
...
...
@@ -317,3 +317,23 @@ namespace NOlm {
mem_del
();
}
}
//***************************************************************************//
//* Backup and retrieve *//
//***************************************************************************//
namespace
NOlm
{
//! Copy selected files to backup.
void
mem_backup
()
{
throw
"not yet implemented"
;
}
//! Retrieve files from backup.
void
mem_retrieve
()
{
throw
"not yet implemented"
;
}
}
This diff is collapsed.
Click to expand it.
pub/src/mem.h
+
4
−
0
View file @
c48296cd
...
...
@@ -37,6 +37,10 @@ namespace NOlm {
void
sel_collect_end
();
void
sel_increment
(
int
step
);
// Backup:
void
mem_backup
();
void
mem_retrieve
();
//! Iterate over all files in selection.
class
IterateO
{
protected:
...
...
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