Skip to content

Instantly share code, notes, and snippets.

@leiflindholm
Created December 18, 2014 20:47
Show Gist options
  • Save leiflindholm/1caeebfb2eaa1001b841 to your computer and use it in GitHub Desktop.
Save leiflindholm/1caeebfb2eaa1001b841 to your computer and use it in GitHub Desktop.
efivar tester debian jessie 0.15 ltrace
__libc_start_main(0x400ca0, 1, 0x7fff8daf0cf8, 0x401e60 <unfinished ...>
efi_variables_supported(1, 0x7fff8daf0cf8, 0x7fff8daf0d08, 0) = 1
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40204f, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402059, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402063, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402072, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402080, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40201e, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402024, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40202a, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40202f, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402037, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40203f, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402049, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402053, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40205d, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402069, 0x42c0) = 0xffffffff
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402077, 0x42c0) = 0xffffffff
__printf_chk(1, 0x402006, 0x402018, 0) = 20
__errno_location() = 0x7f9a5b7dd690
puts("testing efi_set_variable()") = 27
_efi_set_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0) = 0xffffffff
free(0) = <void>
puts("testing efi_get_variable_size()") = 32
efi_get_variable_size(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0x7fff8daf0938) = 0xffffffff
free(0) = <void>
puts("testing efi_get_variable()") = 27
efi_get_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0x7fff8daf0930) = 0xffffffff
free(0) = <void>
free(0) = <void>
free(0) = <void>
puts("testing efi_get_variable_attributes()") = 38
efi_get_variable_attributes(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0x7fff8daf092c) = 0xffffffff
free(0) = <void>
free(0) = <void>
puts("testing efi_del_variable()") = 27
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, -1) = 0xffffffff
free(0) = <void>
puts("testing efi_set_variable() with too many arguments") = 51
free(0) = <void>
_efi_set_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0) = 0xffffffff
free(0) = <void>
puts("testing efi_append_variable()") = 30
efi_append_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0) = 0xffffffff
free(0) = <void>
puts("testing efi_get_variable()") = 27
efi_get_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0x7fff8daf0930) = 0xffffffff
free(0) = <void>
memcmp(0, 0, 0, 0) = 0
memcmp(0, 0, 0, 0x7f9a5b13d9ff) = 0
puts("testing efi_del_variable()") = 27
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x402018, 0x42c0) = 0xffffffff
free(0) = <void>
free(0) = <void>
__printf_chk(1, 0x402006, 0x40204f, 0) = 18
__errno_location() = 0x7f9a5b7dd690
malloc(1) = 0x983a70
open("/dev/urandom", 0, 046035160) = 3
read(3, "r", 1) = 1
__errno_location() = 0x7f9a5b7dd690
close(3) = 0
puts("testing efi_set_variable()") = 27
_efi_set_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40204f, 0x983a70) = 0
puts("testing efi_get_variable_size()") = 32
efi_get_variable_size(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40204f, 0x7fff8daf0938) = 0
puts("testing efi_get_variable()") = 27
efi_get_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40204f, 0x7fff8daf0930) = 0
memcmp(0x983010, 0x983a70, 1, 0x983010) = 0
free(0x983010) = <void>
puts("testing efi_get_variable_attributes()") = 38
efi_get_variable_attributes(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40204f, 0x7fff8daf092c) = 0
puts("testing efi_del_variable()") = 27
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40204f, -1) = 0
puts("testing efi_set_variable() with too many arguments") = 51
free(0x983a70) = <void>
__fprintf_chk(0x7f9a5b39c060, 1, 0x401ee4, 0x40204f) = 27
__vfprintf_chk(0x7f9a5b39c060, 1, 0x401f26, 0x7fff8daf0810) = 34
efi_del_variable(0x42c08a3284be9c3e, 0xccbe72b0d34c1c89, 0x40204f, -1) = 0xffffffff
+++ exited (status 1) +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment