Update dynasmrt requirement from 2.0.0 to 3.0.1 (#2653)

* Update dynasmrt requirement from 2.0.0 to 3.0.1

Updates the requirements on [dynasmrt](https://github.com/CensoredUsername/dynasm-rs) to permit the latest version.
- [Changelog](https://github.com/CensoredUsername/dynasm-rs/blob/master/doc/releasenotes.md)
- [Commits](https://github.com/CensoredUsername/dynasm-rs/compare/v2.0.0...v3.0.1)

---
updated-dependencies:
- dependency-name: dynasmrt
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix for update

* fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Toka <tokazerkje@outlook.com>
This commit is contained in:
dependabot[bot] 2024-11-04 16:32:20 +01:00 committed by GitHub
parent d7ce89d78d
commit 51393242d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 16 additions and 16 deletions

View File

@ -76,7 +76,7 @@ frida-gum = { version = "0.15.1", features = [
"module-names",
"script",
] }
dynasmrt = "2.0.0"
dynasmrt = "3.0.1"
color-backtrace = { version = "0.6.1", features = ["resolve-modules"] }
termcolor = "1.4.1"

View File

@ -1891,13 +1891,13 @@ impl AsanRuntime {
// Ignore eh_frame_cie for amd64
// See discussions https://github.com/AFLplusplus/LibAFL/pull/331
;->accessed_address:
; .dword 0x0
; .i32 0x0
; self_addr:
; .qword core::ptr::from_mut(self) as *mut c_void as i64
; .i64 core::ptr::from_mut(self) as *mut c_void as i64
; self_regs_addr:
; .qword addr_of_mut!(self.regs) as i64
; .i64 addr_of_mut!(self.regs) as i64
; trap_func:
; .qword AsanRuntime::handle_trap as *mut c_void as i64
; .i64 AsanRuntime::handle_trap as *mut c_void as i64
);
self.blob_report = Some(ops_report.finalize().unwrap().into_boxed_slice());
@ -1946,7 +1946,7 @@ impl AsanRuntime {
; mov x25, x1 // address of instrumented instruction.
; str x25, [x28, 0xf8]
; .dword 0xd53b4218u32 as i32 // mrs x24, nzcv
; .i32 0xd53b4218u32 as i32 // mrs x24, nzcv
; ldp x0, x1, [sp, 0x20]
; stp x0, x1, [x28]
@ -1968,7 +1968,7 @@ impl AsanRuntime {
; ldr x1, >trap_func
; blr x1
; .dword 0xd51b4218u32 as i32 // msr nzcv, x24
; .i32 0xd51b4218u32 as i32 // msr nzcv, x24
; ldr x0, >self_regs_addr
; ldp x2, x3, [x0, #0x10]
; ldp x4, x5, [x0, #0x20]
@ -1992,15 +1992,15 @@ impl AsanRuntime {
; br x1 // go back to the 'return address'
; self_addr:
; .qword core::ptr::from_mut(self) as *mut c_void as i64
; .i64 core::ptr::from_mut(self) as *mut c_void as i64
; self_regs_addr:
; .qword addr_of_mut!(self.regs) as i64
; .i64 addr_of_mut!(self.regs) as i64
; trap_func:
; .qword AsanRuntime::handle_trap as *mut c_void as i64
; .i64 AsanRuntime::handle_trap as *mut c_void as i64
; register_frame_func:
; .qword __register_frame as *mut c_void as i64
; .i64 __register_frame as *mut c_void as i64
; eh_frame_cie_addr:
; .qword addr_of_mut!(self.eh_frame) as i64
; .i64 addr_of_mut!(self.eh_frame) as i64
);
self.eh_frame = [
0x14, 0, 0x00527a01, 0x011e7c01, 0x001f0c1b, //

View File

@ -124,13 +124,13 @@ impl CoverageRuntime {
; b >end
;map_addr:
;.qword map_addr_ptr as i64
;.i64 map_addr_ptr as i64
;previous_loc:
;.qword prev_loc_ptr as i64
;.i64 prev_loc_ptr as i64
;loc:
;.qword h64 as i64
;.i64 h64 as i64
;loc_shr:
;.qword (h64 >> 1) as i64
;.i64 (h64 >> 1) as i64
;end:
);
let ops_vec = ops.finalize().unwrap();