Displaying 7 results from an estimated 7 matches for "do_download_blocks".
2016 Aug 08
1
[PATCH] sleuthkit code cleanup
...mp;cmd, "%s -r %s %" PRIi64, str_icat, mountable->device, inode);
+ ret = asprintf (&cmd, "%s -r %s %" PRIi64,
+ str_icat, mountable->device, inode);
if (ret < 0) {
reply_with_perror ("asprintf");
return -1;
@@ -85,7 +86,7 @@ do_download_blocks (const mountable_t *mountable, int64_t start, int64_t stop,
/* Construct the command. */
ret = asprintf (&cmd, "%s %s %s %" PRIi64 "-%" PRIi64,
str_blkls, mountable->device, params, start, stop);
- if (ret < -0) {
+ if (ret < 0) {
rep...
2016 Jun 29
2
[PATCH 0/2] Added download_blocks API
With this API we complete the set of functions required to extract
deleted files/data from most of the available filesystems.
The function allows to extract data units (blocks) within a given range
from a partition.
The tests show an example on how the function can be used to retrieve
deleted data.
Matteo Cafasso (2):
New API: download_blocks
Added download_blocks API test
2016 Jul 17
4
[PATCH v2 0/2] Added download_blocks API
v2:
- Rebase on top of master
Matteo Cafasso (2):
New API: download_blocks
Added download_blocks API test
daemon/sleuthkit.c | 41 ++++++++++++++++++++++++++-
generator/actions.ml | 24 ++++++++++++++++
gobject/Makefile.inc | 2 ++
src/MAX_PROC_NR | 2 +-
tests/tsk/Makefile.am | 1 +
2017 Jul 27
0
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
...ot;%s -r %s %" PRIi64,
- str_icat, mountable->device, inode);
+ ret = asprintf (&cmd, "icat -r %s %" PRIi64,
+ mountable->device, inode);
if (ret < 0) {
reply_with_perror ("asprintf");
return -1;
@@ -84,8 +81,8 @@ do_download_blocks (const mountable_t *mountable, int64_t start, int64_t stop,
params = "";
/* Construct the command. */
- ret = asprintf (&cmd, "%s %s %s %" PRIi64 "-%" PRIi64,
- str_blkls, mountable->device, params, start, stop);
+ ret = asprintf (&a...
2017 Jul 24
0
[PATCH 2/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
...ot;%s -r %s %" PRIi64,
- str_icat, mountable->device, inode);
+ ret = asprintf (&cmd, "icat -r %s %" PRIi64,
+ mountable->device, inode);
if (ret < 0) {
reply_with_perror ("asprintf");
return -1;
@@ -84,8 +83,8 @@ do_download_blocks (const mountable_t *mountable, int64_t start, int64_t stop,
params = "";
/* Construct the command. */
- ret = asprintf (&cmd, "%s %s %s %" PRIi64 "-%" PRIi64,
- str_blkls, mountable->device, params, start, stop);
+ ret = asprintf (&a...
2017 Jul 27
3
[PATCH v2] daemon: Remove GUESTFSD_EXT_CMD.
This is a simpler patch that removes GUESTFSD_EXT_CMD completely.
2017 Jul 24
6
[PATCH 0/2] daemon: Replace GUESTFSD_EXT_CMD with --print-external-commands.
Replace GUESTFSD_EXT_CMD with a command line option
‘./guestfsd --print-external-commands’