(value: NativePointer)
| 227 | } |
| 228 | |
| 229 | function isReadableDataPointer(value: NativePointer): boolean { |
| 230 | try { |
| 231 | const range = Process.findRangeByAddress(value); |
| 232 | return range !== null && range.protection.includes("r") && !range.protection.includes("x"); |
| 233 | } catch (_error) { |
| 234 | return false; |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | function sanitizeObjectText(value: string | null): string { |
| 239 | if (value === null) { |