Skip to content

Commit fc51be1

Browse files
add and
1 parent dbbcb4c commit fc51be1

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

frida-gum/src/instruction_writer/aarch64/writer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl Aarch64InstructionWriter {
7979
}
8080

8181
/// Get the underlying frida gum writer object
82-
pub fn writer(&self) -> *mut gum_sys::_GumArm64Writer {
82+
pub fn raw_writer(&self) -> *mut gum_sys::_GumArm64Writer {
8383
self.writer
8484
}
8585

frida-gum/src/instruction_writer/arm/writer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl ArmInstructionWriter {
6363
}
6464

6565
/// Get the underlying frida gum writer object
66-
pub fn writer(&self) -> *mut gum_sys::_GumArmWriter {
66+
pub fn raw_writer(&self) -> *mut gum_sys::_GumArmWriter {
6767
self.writer
6868
}
6969
}

frida-gum/src/instruction_writer/x86_64/writer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ impl X86InstructionWriter {
7676
}
7777

7878
/// Get the underlying frida gum writer object
79-
pub fn writer(&self) -> *mut gum_sys::_GumX86Writer {
79+
pub fn raw_writer(&self) -> *mut gum_sys::_GumX86Writer {
8080
self.writer
8181
}
8282

frida-gum/src/stalker.rs

+5
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ impl Stalker {
145145
}
146146
}
147147

148+
/// Get the underlying frida stalker object
149+
pub fn raw_stalker(&self) -> *mut frida_gum_sys::GumStalker {
150+
self.stalker
151+
}
152+
148153
/// Exclude a range of address from the Stalker engine.
149154
///
150155
/// This exclusion will prevent the Stalker from tracing into the memory range,

0 commit comments

Comments
 (0)