pub enum Readability {
Commented,
Uncommented,
Obfuscated,
CompiledLayout,
CompiledLogic,
CompiledLogicLarge,
Packed,
}Expand description
How much work it takes to bring the supplied code to a fully readable state.
Variants§
Commented
Commented or very simple code.
Uncommented
Code without comments.
Obfuscated
Ugly or obfuscated code — poor names, spaghetti control flow.
CompiledLayout
Compiled code needing reverse engineering for addresses and memory layout.
CompiledLogic
Compiled code needing reverse engineering to understand application logic.
CompiledLogicLarge
A significant volume of compiled code needing reverse engineering.
Packed
Packed, esoteric-architecture, or anti-debugging code.
Implementations§
Trait Implementations§
Source§impl Clone for Readability
impl Clone for Readability
impl Copy for Readability
Source§impl Debug for Readability
impl Debug for Readability
impl Eq for Readability
Source§impl From<Readability> for Score
impl From<Readability> for Score
Source§fn from(anchor: Readability) -> Self
fn from(anchor: Readability) -> Self
Converts to this type from the input type.
Source§impl Hash for Readability
impl Hash for Readability
Source§impl Ord for Readability
impl Ord for Readability
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Readability
impl PartialEq for Readability
Source§impl PartialOrd for Readability
impl PartialOrd for Readability
impl StructuralPartialEq for Readability
Auto Trait Implementations§
impl Freeze for Readability
impl RefUnwindSafe for Readability
impl Send for Readability
impl Sync for Readability
impl Unpin for Readability
impl UnsafeUnpin for Readability
impl UnwindSafe for Readability
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more