GHC.Exts.Heap.InfoTable

ghc-heap-8.6.3: Functions for walking GHC's heap

Safe Haskell | Safe
Language | Haskell2010

GHC.Exts.Heap.InfoTable

Synopsis

- module GHC.Exts.Heap.InfoTable.Types
- itblSize :: Int
- peekItbl :: Ptr StgInfoTable -> IO StgInfoTable
- pokeItbl :: Ptr StgInfoTable -> StgInfoTable -> IO ()

# Documentation

module GHC.Exts.Heap.InfoTable.Types

itblSize :: Int #

Size in bytes of a standard InfoTable

peekItbl :: Ptr StgInfoTable -> IO StgInfoTable #

Read an InfoTable from the heap into a haskell type. WARNING: This code assumes it is passed a pointer to a "standard" info table. If tables_next_to_code is enabled, it will look 1 byte before the start for the entry field.

pokeItbl :: Ptr StgInfoTable -> StgInfoTable -> IO () #