mirror of
https://github.com/a2x/cs2-dumper.git
synced 2025-10-08 05:10:02 +08:00
Refactor and move Linux code to separate branch
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
use std::env;
|
||||
|
||||
use log::debug;
|
||||
|
||||
use memflow::prelude::v1::*;
|
||||
|
||||
use pelite::pattern;
|
||||
use pelite::pe64::{Pe, PeView};
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use skidscan_macros::signature;
|
||||
|
||||
use crate::error::{Error, Result};
|
||||
use crate::source_engine::KeyboardKey;
|
||||
use crate::source2::KeyboardKey;
|
||||
|
||||
/// Represents a key button.
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct Button {
|
||||
pub name: String,
|
||||
@@ -18,27 +18,21 @@ pub struct Button {
|
||||
}
|
||||
|
||||
pub fn buttons(process: &mut IntoProcessInstanceArcBox<'_>) -> Result<Vec<Button>> {
|
||||
let (module_name, sig) = match env::consts::OS {
|
||||
"linux" => (
|
||||
"libclient.so",
|
||||
signature!("48 8B 15 ? ? ? ? 48 89 83 ? ? ? ? 48 85 D2"),
|
||||
),
|
||||
"windows" => (
|
||||
"client.dll",
|
||||
signature!("48 8B 15 ? ? ? ? 48 85 D2 74 ? 0F 1F 40"),
|
||||
),
|
||||
os => panic!("unsupported os: {}", os),
|
||||
};
|
||||
|
||||
let module = process.module_by_name(&module_name)?;
|
||||
let module = process.module_by_name("client.dll")?;
|
||||
let buf = process.read_raw(module.base, module.size as _)?;
|
||||
|
||||
let list_addr = sig
|
||||
.scan(&buf)
|
||||
.and_then(|ptr| process.read_addr64_rip(module.base + ptr).ok())
|
||||
.ok_or_else(|| Error::Other("unable to read button list address"))?;
|
||||
let view = PeView::from_bytes(&buf)?;
|
||||
|
||||
read_buttons(process, &module, list_addr)
|
||||
let mut save = [0; 2];
|
||||
|
||||
if !view
|
||||
.scanner()
|
||||
.finds_code(pattern!("488b15${'} 4885d2 74? 0f1f40"), &mut save)
|
||||
{
|
||||
return Err(Error::Other("unable to find button list signature"));
|
||||
}
|
||||
|
||||
read_buttons(process, &module, module.base + save[1])
|
||||
}
|
||||
|
||||
fn read_buttons(
|
||||
@@ -70,6 +64,7 @@ fn read_buttons(
|
||||
key_ptr = key.next;
|
||||
}
|
||||
|
||||
// Sort buttons by name.
|
||||
buttons.sort_unstable_by(|a, b| a.name.cmp(&b.name));
|
||||
|
||||
Ok(buttons)
|
||||
|
@@ -1,19 +1,20 @@
|
||||
use std::collections::BTreeMap;
|
||||
use std::env;
|
||||
|
||||
use log::debug;
|
||||
|
||||
use memflow::prelude::v1::*;
|
||||
|
||||
use pelite::pattern;
|
||||
use pelite::pe64::{Pe, PeView};
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use skidscan_macros::signature;
|
||||
|
||||
use crate::error::Result;
|
||||
use crate::source_engine::InterfaceReg;
|
||||
use crate::source2::InterfaceReg;
|
||||
|
||||
pub type InterfaceMap = BTreeMap<String, Vec<Interface>>;
|
||||
|
||||
/// Represents an exposed interface.
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct Interface {
|
||||
pub name: String,
|
||||
@@ -21,23 +22,24 @@ pub struct Interface {
|
||||
}
|
||||
|
||||
pub fn interfaces(process: &mut IntoProcessInstanceArcBox<'_>) -> Result<InterfaceMap> {
|
||||
let sig = match env::consts::OS {
|
||||
"linux" => signature!("48 8B 1D ? ? ? ? 48 85 DB 74 ? 49 89 FC"),
|
||||
"windows" => signature!("4C 8B 0D ? ? ? ? 4C 8B D2 4C 8B D9"),
|
||||
os => panic!("unsupported os: {}", os),
|
||||
};
|
||||
|
||||
process
|
||||
.module_list()?
|
||||
.iter()
|
||||
.filter_map(|module| {
|
||||
let buf = process.read_raw(module.base, module.size as _).ok()?;
|
||||
|
||||
let list_addr = sig
|
||||
.scan(&buf)
|
||||
.and_then(|ptr| process.read_addr64_rip(module.base + ptr).ok())?;
|
||||
let view = PeView::from_bytes(&buf).ok()?;
|
||||
|
||||
read_interfaces(process, module, list_addr)
|
||||
let mut save = [0; 2];
|
||||
|
||||
if !view
|
||||
.scanner()
|
||||
.finds_code(pattern!("4c8b0d${'} 4c8bd2 4c8bd9"), &mut save)
|
||||
{
|
||||
return None;
|
||||
}
|
||||
|
||||
read_interfaces(process, module, module.base + save[1])
|
||||
.ok()
|
||||
.filter(|ifaces| !ifaces.is_empty())
|
||||
.map(|ifaces| Ok((module.name.to_string(), ifaces)))
|
||||
@@ -73,6 +75,7 @@ fn read_interfaces(
|
||||
reg_ptr = reg.next;
|
||||
}
|
||||
|
||||
// Sort interfaces by name.
|
||||
ifaces.sort_unstable_by(|a, b| a.name.cmp(&b.name));
|
||||
|
||||
Ok(ifaces)
|
||||
|
@@ -1,95 +1,141 @@
|
||||
use std::collections::BTreeMap;
|
||||
use std::mem;
|
||||
use std::str::FromStr;
|
||||
|
||||
use log::{debug, error};
|
||||
use log::debug;
|
||||
|
||||
use memflow::prelude::v1::*;
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use pelite::pattern;
|
||||
use pelite::pattern::{save_len, Atom};
|
||||
use pelite::pe64::{Pe, PeView};
|
||||
|
||||
use crate::config::{Operation, Signature, CONFIG};
|
||||
use crate::error::{Error, Result};
|
||||
use phf::{phf_map, Map};
|
||||
|
||||
pub type OffsetMap = BTreeMap<String, Vec<Offset>>;
|
||||
use crate::error::Result;
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
pub struct Offset {
|
||||
pub name: String,
|
||||
pub value: u32,
|
||||
pub type OffsetMap = BTreeMap<String, BTreeMap<String, u32>>;
|
||||
|
||||
macro_rules! pattern_map {
|
||||
($($module:ident => {
|
||||
$($name:expr => $pattern:expr $(=> $callback:expr)?),+ $(,)?
|
||||
}),+ $(,)?) => {
|
||||
$(
|
||||
mod $module {
|
||||
use super::*;
|
||||
|
||||
pub(super) const PATTERNS: Map<
|
||||
&'static str,
|
||||
(
|
||||
&'static [Atom],
|
||||
Option<fn(&PeView, &mut BTreeMap<String, u32>, u32)>,
|
||||
),
|
||||
> = phf_map! {
|
||||
$($name => ($pattern, $($callback)?)),+
|
||||
};
|
||||
|
||||
pub fn offsets(view: PeView<'_>) -> BTreeMap<String, u32> {
|
||||
let mut map = BTreeMap::new();
|
||||
|
||||
for (&name, (pat, callback)) in &PATTERNS {
|
||||
let mut save = vec![0; save_len(pat)];
|
||||
|
||||
if !view.scanner().finds_code(pat, &mut save) {
|
||||
continue;
|
||||
}
|
||||
|
||||
let rva = save[1];
|
||||
|
||||
map.insert(name.to_string(), rva);
|
||||
|
||||
if let Some(callback) = callback {
|
||||
callback(&view, &mut map, rva);
|
||||
}
|
||||
}
|
||||
|
||||
for (name, value) in &map {
|
||||
debug!(
|
||||
"found offset: {} at {:#X} ({}.dll + {:#X})",
|
||||
name,
|
||||
*value as u64 + view.optional_header().ImageBase,
|
||||
stringify!($module),
|
||||
value
|
||||
);
|
||||
}
|
||||
|
||||
map
|
||||
}
|
||||
}
|
||||
)+
|
||||
};
|
||||
}
|
||||
|
||||
pattern_map! {
|
||||
client => {
|
||||
"dwCSGOInput" => pattern!("4c8b0d${*{'}} 488d045b") => Some(|view, map, rva| {
|
||||
let mut save = [0; 2];
|
||||
|
||||
if view.scanner().finds_code(pattern!("498d81u4 4803c7"), &mut save) {
|
||||
map.insert("dwViewAngles".to_string(), rva + save[1]);
|
||||
}
|
||||
}),
|
||||
"dwEntityList" => pattern!("488935${'} 4885f6") => None,
|
||||
"dwGameEntitySystem" => pattern!("488b1d${'} 48891d") => None,
|
||||
"dwGameEntitySystem_getHighestEntityIndex" => pattern!("8b81u2?? 8902 488bc2 c3 cccccccc 48895c24? 48896c24") => None,
|
||||
"dwGameRules" => pattern!("48890d${'} 8b0d${} ff15") => None,
|
||||
"dwGlobalVars" => pattern!("48890d${'} 488941") => None,
|
||||
"dwGlowManager" => pattern!("488b05${'} c3 cccccccccccccccc 8b41") => None,
|
||||
"dwLocalPlayerController" => pattern!("488b05${'} 4885c0 74? 8b88") => None,
|
||||
"dwPlantedC4" => pattern!("488b15${'} ffc0 488d4c24") => None,
|
||||
"dwPrediction" => pattern!("488d05${'} c3 cccccccccccccccc 4883ec? 8b0d") => Some(|_view, map, rva| {
|
||||
map.insert("dwLocalPlayerPawn".to_string(), rva + 0x138);
|
||||
}),
|
||||
"dwSensitivity" => pattern!("488b05${'} 488b40? f3410f59f4") => None,
|
||||
"dwSensitivity_sensitivity" => pattern!("ff50u1 4c8bc6 488d55? 488bcf e8${} 84c0 0f85${} 4c8d45? 8bd3 488bcf e8${} e9${} f30f1006") => None,
|
||||
"dwViewMatrix" => pattern!("488d0d${'} 48c1e006") => None,
|
||||
"dwViewRender" => pattern!("488905${'} 488bc8 4885c0") => None,
|
||||
},
|
||||
engine2 => {
|
||||
"dwBuildNumber" => pattern!("8905${'} 488d0d${} ff15${} e9") => None,
|
||||
"dwNetworkGameClient" => pattern!("48893d${'} 488d15") => None,
|
||||
"dwNetworkGameClient_deltaTick" => pattern!("8983u4 40b7") => None,
|
||||
"dwNetworkGameClient_getLocalPlayer" => pattern!("4883c0u1 488d0440 458b04c7") => Some(|_view, map, rva| {
|
||||
// .text 48 83 C0 0A add rax, 0Ah
|
||||
// .text 48 8D 04 40 lea rax, [rax+rax*2]
|
||||
// .text 45 8B 04 C7 mov r8d, [r15+rax*8]
|
||||
map.insert("dwNetworkGameClient_getLocalPlayer".to_string(), (rva + (rva * 2)) * 8);
|
||||
}),
|
||||
"dwNetworkGameClient_getMaxClients" => pattern!("8b81u2?? c3cccccccccccccccccc 8b81${} ffc0") => None,
|
||||
"dwNetworkGameClient_signOnState" => pattern!("448b81u2?? 488d0d") => None,
|
||||
"dwWindowHeight" => pattern!("8b05${'} 8903") => None,
|
||||
"dwWindowWidth" => pattern!("8b05${'} 8907") => None,
|
||||
},
|
||||
input_system => {
|
||||
"dwInputSystem" => pattern!("488905${'} 488d05") => None,
|
||||
},
|
||||
matchmaking => {
|
||||
"dwGameTypes" => pattern!("488d0d${'} 33d2") => Some(|_view, map, rva| {
|
||||
map.insert("dwGameTypes_mapName".to_string(), rva + 0x120);
|
||||
}),
|
||||
},
|
||||
}
|
||||
|
||||
pub fn offsets(process: &mut IntoProcessInstanceArcBox<'_>) -> Result<OffsetMap> {
|
||||
let mut map = BTreeMap::new();
|
||||
|
||||
for (module_name, sigs) in CONFIG.signatures.iter().flatten() {
|
||||
let modules: [(&str, fn(PeView) -> BTreeMap<String, u32>); 4] = [
|
||||
("client.dll", client::offsets),
|
||||
("engine2.dll", engine2::offsets),
|
||||
("inputsystem.dll", input_system::offsets),
|
||||
("matchmaking.dll", matchmaking::offsets),
|
||||
];
|
||||
|
||||
for (module_name, callback) in &modules {
|
||||
let module = process.module_by_name(module_name)?;
|
||||
let buf = process.read_raw(module.base, module.size as _)?;
|
||||
|
||||
let mut offsets: Vec<_> = sigs
|
||||
.iter()
|
||||
.filter_map(|sig| match read_offset(process, &module, sig) {
|
||||
Ok(offset) => Some(offset),
|
||||
Err(err) => {
|
||||
error!("{}", err);
|
||||
let view = PeView::from_bytes(&buf)?;
|
||||
|
||||
None
|
||||
}
|
||||
})
|
||||
.collect();
|
||||
|
||||
if !offsets.is_empty() {
|
||||
offsets.sort_unstable_by(|a, b| a.name.cmp(&b.name));
|
||||
|
||||
map.insert(module_name.to_string(), offsets);
|
||||
}
|
||||
map.insert(module_name.to_string(), callback(view));
|
||||
}
|
||||
|
||||
Ok(map)
|
||||
}
|
||||
|
||||
fn read_offset(
|
||||
process: &mut IntoProcessInstanceArcBox<'_>,
|
||||
module: &ModuleInfo,
|
||||
signature: &Signature,
|
||||
) -> Result<Offset> {
|
||||
let buf = process.read_raw(module.base, module.size as _)?;
|
||||
|
||||
let addr = skidscan::Signature::from_str(&signature.pattern)?
|
||||
.scan(&buf)
|
||||
.ok_or_else(|| Error::SignatureNotFound(signature.name.clone()))?;
|
||||
|
||||
let mut result = module.base + addr;
|
||||
|
||||
for op in &signature.operations {
|
||||
result = match op {
|
||||
Operation::Add { value } => result + *value,
|
||||
Operation::Rip { offset, len } => {
|
||||
let offset: i32 = process.read(result + offset.unwrap_or(3))?;
|
||||
|
||||
(result + offset) + len.unwrap_or(7)
|
||||
}
|
||||
Operation::Read => process.read_addr64(result)?,
|
||||
Operation::Slice { start, end } => {
|
||||
let buf = process.read_raw(result + *start, end - start)?;
|
||||
|
||||
let mut bytes = [0; mem::size_of::<usize>()];
|
||||
|
||||
bytes[..buf.len()].copy_from_slice(&buf);
|
||||
|
||||
usize::from_le_bytes(bytes).into()
|
||||
}
|
||||
Operation::Sub { value } => result - *value,
|
||||
};
|
||||
}
|
||||
|
||||
let value = (result - module.base)
|
||||
.try_into()
|
||||
.map_or_else(|_| result.to_umem() as u32, |v| v);
|
||||
|
||||
debug!("found offset: {} at {:#X}", signature.name, value);
|
||||
|
||||
Ok(Offset {
|
||||
name: signature.name.clone(),
|
||||
value,
|
||||
})
|
||||
}
|
||||
|
@@ -1,18 +1,19 @@
|
||||
use std::collections::BTreeMap;
|
||||
use std::ffi::CStr;
|
||||
use std::mem;
|
||||
use std::ops::Add;
|
||||
use std::{env, mem};
|
||||
|
||||
use log::debug;
|
||||
|
||||
use memflow::prelude::v1::*;
|
||||
|
||||
use pelite::pattern;
|
||||
use pelite::pe64::{Pe, PeView};
|
||||
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
use skidscan_macros::signature;
|
||||
|
||||
use crate::error::{Error, Result};
|
||||
use crate::source_engine::*;
|
||||
use crate::source2::*;
|
||||
|
||||
pub type SchemaMap = BTreeMap<String, (Vec<Class>, Vec<Enum>)>;
|
||||
|
||||
@@ -42,7 +43,6 @@ pub struct ClassField {
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct Enum {
|
||||
pub name: String,
|
||||
pub ty: String,
|
||||
pub alignment: u8,
|
||||
pub size: u16,
|
||||
pub members: Vec<EnumMember>,
|
||||
@@ -54,7 +54,7 @@ pub struct EnumMember {
|
||||
pub value: i64,
|
||||
}
|
||||
|
||||
#[derive(Debug, Deserialize, Serialize)]
|
||||
#[derive(Clone, Debug, Deserialize, Serialize)]
|
||||
pub struct TypeScope {
|
||||
pub name: String,
|
||||
pub classes: Vec<Class>,
|
||||
@@ -79,15 +79,10 @@ fn read_class_binding(
|
||||
) -> Result<Class> {
|
||||
let binding = binding_ptr.read(process)?;
|
||||
|
||||
let module_name = binding.module_name.read_string(process).map(|s| {
|
||||
let file_ext = match env::consts::OS {
|
||||
"linux" => ".so",
|
||||
"windows" => ".dll",
|
||||
os => panic!("unsupported os: {}", os),
|
||||
};
|
||||
|
||||
format!("{}.{}", s, file_ext)
|
||||
})?;
|
||||
let module_name = binding
|
||||
.module_name
|
||||
.read_string(process)
|
||||
.map(|s| format!("{}.dll", s))?;
|
||||
|
||||
let name = binding.name.read_string(process)?.to_string();
|
||||
|
||||
@@ -135,15 +130,15 @@ fn read_class_binding_fields(
|
||||
|
||||
let field = field_ptr.read(process)?;
|
||||
|
||||
if field.schema_type.is_null() {
|
||||
if field.type_.is_null() {
|
||||
return Err(Error::Other("field schema type is null"));
|
||||
}
|
||||
|
||||
let name = field.name.read_string(process)?.to_string();
|
||||
let schema_type = field.schema_type.read(process)?;
|
||||
let type_ = field.type_.read(process)?;
|
||||
|
||||
// TODO: Parse this properly.
|
||||
let ty = schema_type.name.read_string(process)?.replace(" ", "");
|
||||
let ty = type_.name.read_string(process)?.replace(" ", "");
|
||||
|
||||
Ok(ClassField {
|
||||
name,
|
||||
@@ -178,16 +173,12 @@ fn read_class_binding_metadata(
|
||||
|
||||
let metadata = match name.as_str() {
|
||||
"MNetworkChangeCallback" => unsafe {
|
||||
let name = network_value
|
||||
.union_data
|
||||
.name_ptr
|
||||
.read_string(process)?
|
||||
.to_string();
|
||||
let name = network_value.u.name_ptr.read_string(process)?.to_string();
|
||||
|
||||
ClassMetadata::NetworkChangeCallback { name }
|
||||
},
|
||||
"MNetworkVarNames" => unsafe {
|
||||
let var_value = network_value.union_data.var_value;
|
||||
let var_value = network_value.u.var_value;
|
||||
|
||||
let name = var_value.name.read_string(process)?.to_string();
|
||||
let ty = var_value.ty.read_string(process)?.replace(" ", "");
|
||||
@@ -208,21 +199,18 @@ fn read_enum_binding(
|
||||
) -> Result<Enum> {
|
||||
let binding = binding_ptr.read(process)?;
|
||||
let name = binding.name.read_string(process)?.to_string();
|
||||
|
||||
let members = read_enum_binding_members(process, &binding)?;
|
||||
|
||||
debug!(
|
||||
"found enum: {} at {:#X} (type name: {}) (alignment: {}) (members count: {})",
|
||||
"found enum: {} at {:#X} (alignment: {}) (members count: {})",
|
||||
name,
|
||||
binding_ptr.to_umem(),
|
||||
binding.type_name(),
|
||||
binding.alignment,
|
||||
binding.size,
|
||||
);
|
||||
|
||||
Ok(Enum {
|
||||
name,
|
||||
ty: binding.type_name().to_string(),
|
||||
alignment: binding.alignment,
|
||||
size: binding.size,
|
||||
members,
|
||||
@@ -235,17 +223,17 @@ fn read_enum_binding_members(
|
||||
) -> Result<Vec<EnumMember>> {
|
||||
(0..binding.size)
|
||||
.map(|i| {
|
||||
let enumerator_info_ptr: Pointer64<SchemaEnumeratorInfoData> = binding
|
||||
let enum_info_ptr: Pointer64<SchemaEnumeratorInfoData> = binding
|
||||
.enum_info
|
||||
.address()
|
||||
.add(i * mem::size_of::<SchemaEnumeratorInfoData>() as u16)
|
||||
.into();
|
||||
|
||||
let enumerator_info = enumerator_info_ptr.read(process)?;
|
||||
let name = enumerator_info.name.read_string(process)?.to_string();
|
||||
let enum_info = enum_info_ptr.read(process)?;
|
||||
let name = enum_info.name.read_string(process)?.to_string();
|
||||
|
||||
let value = {
|
||||
let value = unsafe { enumerator_info.union_data.ulong } as i64;
|
||||
let value = unsafe { enum_info.u.ulong } as i64;
|
||||
|
||||
if value == i64::MAX {
|
||||
-1
|
||||
@@ -260,27 +248,21 @@ fn read_enum_binding_members(
|
||||
}
|
||||
|
||||
fn read_schema_system(process: &mut IntoProcessInstanceArcBox<'_>) -> Result<SchemaSystem> {
|
||||
let (module_name, sig) = match env::consts::OS {
|
||||
"linux" => (
|
||||
"libschemasystem.so",
|
||||
signature!("48 8D 35 ? ? ? ? 48 8D 3D ? ? ? ? E8 ? ? ? ? 48 8D 15 ? ? ? ? 48 8D 35 ? ? ? ? 48 8D 3D"),
|
||||
),
|
||||
"windows" => (
|
||||
"schemasystem.dll",
|
||||
signature!("48 89 05 ? ? ? ? 4C 8D 45"),
|
||||
),
|
||||
os => panic!("unsupported os: {}", os),
|
||||
};
|
||||
|
||||
let module = process.module_by_name(&module_name)?;
|
||||
let module = process.module_by_name("schemasystem.dll")?;
|
||||
let buf = process.read_raw(module.base, module.size as _)?;
|
||||
|
||||
let addr = sig
|
||||
.scan(&buf)
|
||||
.and_then(|ptr| process.read_addr64_rip(module.base + ptr).ok())
|
||||
.ok_or_else(|| Error::Other("unable to read schema system address"))?;
|
||||
let view = PeView::from_bytes(&buf)?;
|
||||
|
||||
let schema_system: SchemaSystem = process.read(addr)?;
|
||||
let mut save = [0; 2];
|
||||
|
||||
if !view
|
||||
.scanner()
|
||||
.finds_code(pattern!("488905${'} 4c8d45"), &mut save)
|
||||
{
|
||||
return Err(Error::Other("unable to find schema system signature"));
|
||||
}
|
||||
|
||||
let schema_system: SchemaSystem = process.read(module.base + save[1]).data_part()?;
|
||||
|
||||
if schema_system.num_registrations == 0 {
|
||||
return Err(Error::Other("no schema system registrations found"));
|
||||
@@ -297,8 +279,7 @@ fn read_type_scopes(
|
||||
|
||||
(0..type_scopes.size)
|
||||
.map(|i| {
|
||||
let type_scope_ptr = type_scopes.get(process, i as _)?;
|
||||
let type_scope = type_scope_ptr.read(process)?;
|
||||
let type_scope = type_scopes.get(process, i as _)?.read(process)?;
|
||||
|
||||
let name = unsafe { CStr::from_ptr(type_scope.name.as_ptr()) }
|
||||
.to_string_lossy()
|
||||
@@ -319,9 +300,8 @@ fn read_type_scopes(
|
||||
.collect();
|
||||
|
||||
debug!(
|
||||
"found type scope: {} at {:#X} (classes count: {}) (enums count: {})",
|
||||
"found type scope: {} (classes: {}) (enums: {})",
|
||||
name,
|
||||
type_scope_ptr.to_umem(),
|
||||
classes.len(),
|
||||
enums.len()
|
||||
);
|
||||
|
Reference in New Issue
Block a user