MCPcopy Create free account
hub / github.com/cgsecurity/testdisk / file_block_append

Function file_block_append

src/photorec.c:1174–1178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1172}
1173
1174void file_block_append(file_recovery_t *file_recovery, alloc_data_t *list_search_space, alloc_data_t **new_current_search_space, uint64_t *offset, const unsigned int blocksize, const unsigned int data)
1175{
1176 file_block_add_to_file(&file_recovery->location, *offset, blocksize, data);
1177 file_block_remove_from_sp(list_search_space, new_current_search_space, offset, blocksize);
1178}
1179
1180/*@
1181 @ requires \valid(list_search_space);

Callers 5

photorec_bfFunction · 0.85
photorec_bf_padFunction · 0.85
photorec_bf_frag_fastFunction · 0.85
photorec_auxFunction · 0.85
photorec_auxMethod · 0.85

Calls 2

file_block_add_to_fileFunction · 0.85

Tested by

no test coverage detected