Updated leechcore submodule and fixed linux warnings

pull/7/head
ko1N 4 years ago
parent 02b5c95eaa
commit e679a403e1

@ -1 +1 @@
Subproject commit 9a744a313a023bde5b8e710597f3690a27561906
Subproject commit 9b859f127784961882ab8ea8803043b37fd1ab61

@ -4,18 +4,16 @@
#![allow(improper_ctypes)]
#![allow(clippy::missing_safety_doc)]
//#![allow(clippy::useless_transmute)]
//#![allow(clippy::cognitive_complexity)]
include!(concat!(env!("OUT_DIR"), "/leechcore.rs"));
#[cfg(target_os = "windows")]
use ctor::{ctor, dtor};
#[cfg(target_os = "windows")]
extern "C" {
pub fn DllMain(_: *const u8, _: u32, _: *const u8) -> u32;
}
use ctor::{ctor, dtor};
#[ctor]
#[cfg(target_os = "windows")]
fn leechcore_attach() {

@ -0,0 +1,19 @@
[[range]]
base=0x1000
length=0x9f000
[[range]]
base=0x100000
length=0xda288000
[[range]]
base=0x100000000
length=0x720000000
[[range]]
base=0xddd03000
length=0x1000
[[range]]
base=0xddd8a000
length=0x276000
Loading…
Cancel
Save