mirror of https://github.com/pwndbg/pwndbg.git
Add cache to `is_linux` call (#2978)
* Add cache to avoid calling is_linux dozens of times * Move variable out of loop * Replace another usage of 'not .is_linux()' to .is_baremetal() * Rename is_baremetal() -> is_pagefault_supported() (and invert meaning) * Update pwndbg/aglib/memory.py --------- Co-authored-by: Disconnect3d <dominik.b.czarnota@gmail.com>pull/2984/head
parent
02335839dd
commit
bc8d5d418f
Loading…
Reference in new issue