orbit-user-common 0.1.0
“Orbit macros used in applications”
Package first published within seven daysPackage under two months old
SHA-256da34d41ad78995e8f8668c5d6d5776c185eabe65f37a4d495f06eb15b8621758
MaleculeH(Mg)
Evidence
5:2… fn as_bytes(&self) -> &[u8];
6}
7
8impl AsBytes for () {
9 type Output = Self;
10 fn as_bytes(&self) -> &[u8] {
11 unsafe {
12 cor …
48:14… syscall {
49 ($syscall:path) => {
50 unsafe {
51 asm!(
52 // Store argument registers' values on stack
53 "addi sp, sp, -0x10;",
54 "sw a0, 0x0 …
57:13… "sw a3, 0xc(sp);",
58
59 // Send the syscall via ECALL
60 "li a0, {syscall}",
61 "li a1, 0",
62 …
81:3… // temporary to live until the end of this unsafe block.
82 let data = $buf;
83 let ptr = data.as_ptr();
84 let …
No evidence locations were recorded for this file. Raw result