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

Function skip_comma_in_command

src/common.c:461–473  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461void skip_comma_in_command(char **current_cmd)
462{
463 /*@
464 @ loop invariant valid_read_string(*current_cmd);
465 @ loop assigns *current_cmd;
466 @ loop variant strlen(*current_cmd);
467 */
468 while(*current_cmd[0]==',')
469 {
470 (*current_cmd)++;
471 }
472 /*@ assert valid_read_string(*current_cmd); */
473}
474
475uint64_t get_int_from_command(char **current_cmd)
476{

Callers 15

ask_number_cliFunction · 0.85
add_partition_gpt_cliFunction · 0.85
ntfs_boot_sector_commandFunction · 0.85
is_no_confirm_commandFunction · 0.85
photorecFunction · 0.85
change_part_type_cliFunction · 0.85
add_partition_mac_cliFunction · 0.85
interface_writeFunction · 0.85
file_select_cliFunction · 0.85

Calls

no outgoing calls

Tested by 1

mainFunction · 0.68