5eeada1fd5
Added PS4 Firmware Detection
36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
/* Copyright (C) 2023 anonymous
|
|
|
|
This file is part of PSFree.
|
|
|
|
PSFree is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU Affero General Public License as
|
|
published by the Free Software Foundation, either version 3 of the
|
|
License, or (at your option) any later version.
|
|
|
|
PSFree is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU Affero General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Affero General Public License
|
|
along with this program. If not, see <https://www.gnu.org/licenses/>. */
|
|
|
|
// offsets for JSC::JSObject
|
|
export const js_butterfly = 0x8;
|
|
|
|
// offsets for JSC::JSArrayBufferView
|
|
export const view_m_vector = 0x10;
|
|
export const view_m_length = 0x18;
|
|
export const view_m_mode = 0x1c;
|
|
|
|
// sizeof JSC::JSArrayBufferView
|
|
export const size_view = 0x20;
|
|
|
|
// offsets for WTF::StringImpl
|
|
export const strimpl_strlen = 4;
|
|
export const strimpl_m_data = 8;
|
|
export const strimpl_inline_str = 0x14;
|
|
|
|
// sizeof WTF::StringImpl
|
|
export const size_strimpl = 0x18;
|