error[E0609]: no field rax on type user_pt_regs
--> src\injection.rs:169:14
169
.rax;
^^^ unknown field
= note: available fields are: `regs`, `sp`, `pc`, `pstate`
error[E0609]: no field rip on type user_pt_regs
--> src\injection.rs:194:59
194
let rip = tracee.registers().unwrap().rip;
^^^ unknown field
= note: available fields are: `regs`, `sp`, `pc`, `pstate`
Some errors have detailed explanations: E0412, E0422, E0609.
For more information about an error, try rustc --explain E0412.
error: could not compile ptrace-inject (lib) due to 4 previous errors
Hi, thanks for the report. Currently, only x86_64 processors are supported -- it looks like you might be trying to build for a different processor architecture?
Registers
in cratepete
--> src\injection.rs:21:28
pete
x86_64
feature help: consider importing this type aliasRegisters
, refer to it directly21 - saved_registers: pete::Registers, 21 + saved_registers: Registers, |
Registers
in cratepete
--> src\injection.rs:147:34pete
x86_64
feature help: consider importing this type aliasRegisters
, refer to it directly147 - .set_registers(pete::Registers { 147 + .set_registers(Registers { |
rax
on typeuser_pt_regs
--> src\injection.rs:169:14rip
on typeuser_pt_regs
--> src\injection.rs:194:59Some errors have detailed explanations: E0412, E0422, E0609. For more information about an error, try
rustc --explain E0412
. error: could not compileptrace-inject
(lib) due to 4 previous errors