Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 2 of 2) sorted by relevance

/platform_testing/utils/shell-as/
Dshell-code.cpp58 char* selinux_context, size_t* total_size) { in GetSELinuxShellCode() argument
64 *total_size = shell_code_size + selinux_context_size; in GetSELinuxShellCode()
66 std::unique_ptr<uint8_t[]> shell_code(new uint8_t[*total_size]); in GetSELinuxShellCode()
74 size_t* total_size) { in GetTrapShellCode() argument
79 *total_size = in GetTrapShellCode()
81 std::unique_ptr<uint8_t[]> shell_code(new uint8_t[*total_size]); in GetTrapShellCode()
82 memcpy(shell_code.get(), (void*)&__trap_shell_code_start, *total_size); in GetTrapShellCode()
Dshell-code.h32 char* selinux_context, size_t* total_size);
37 size_t* total_size);