〽️
Pattern Language
Home
  • Pattern Language
  • Core Language
    • Data Types
    • Variable Placement
    • Namespaces
    • Expressions
    • Functions
    • Control flow
    • In / Out Variables
    • Attributes
    • Preprocessor
    • Importing Modules
    • Comments
    • Sections
  • Libraries
    • hex
      • provider
      • core
      • http
      • dec
      • mangled
      • encstr
      • instruction
      • json
    • std
      • array
      • limits
      • random
      • file
      • core
      • ptr
      • mem
      • math
      • hash
      • fxpt
      • sys
      • io
      • time
      • string
      • attrs
      • ctype
      • bit
    • type
      • mac
      • ip
      • byte
      • path
      • size
      • base
      • guid
      • float16
      • bcd
      • leb128
      • time
      • fmt
      • color
      • c
      • win32
      • 010
      • linux
      • rust
      • base64
      • magic
Powered by GitBook
On this page
  • Functions
  • hex::prv::get_information

Was this helpful?

Edit on GitHub
  1. Libraries
  2. hex

provider

Library to interact with the currently loaded provider.

Functions

hex::prv::get_information

Queries information from the currently loaded provider. The kind of information that's available depends on the provider that's loaded

Available information

  • File Provider

    • file_path() -> str

    • file_name() -> str

    • file_extension() -> str

    • creation_time() -> time_t

    • access_time() -> time_t

    • modification_time() -> time_t

    • permissions() -> u16

  • Disk Provider

    • file_path() -> str

    • sector_size() -> u128

  • GDB Provider

    • ip() -> str

    • port() -> u16

  • Process Memory Provider

    • region_address(regionName) -> u64

    • region_size(regionName) -> u64

    • process_id() -> u32

    • process_name() -> str

  • category: Information category

  • argument: Extra argument to pass along

fn get_information(str category, str argument);

Last updated 2 years ago

Was this helpful?