Ghidra 11.3.2
Ghidra internal decompiler documentation.
Loading...
Searching...
No Matches
crc32.hh File Reference

Table and function for computing a CRC32. More...

#include "types.h"
Include dependency graph for crc32.hh:

Functions

uint4 ghidra::crc_update (uint4 reg, uint4 val)
 Feed 8 bits into a CRC register.
 

Detailed Description

Table and function for computing a CRC32.

Function Documentation

◆ crc_update()

uint4 ghidra::crc_update ( uint4  reg,
uint4  val 
)
inline

Feed 8 bits into a CRC register.

Parameters
regis the current state of the CRC register
valholds 8 bits (least significant) to feed in
Returns
the new value of the register

References ghidra::crc_update().

Referenced by ghidra::StringManager::calcInternalHash(), ghidra::crc_update(), ghidra::ToOpEdge::hash(), ghidra::Scope::hashScopeName(), and ghidra::DynamicHash::pieceTogetherHash().