decompiler  1.0.0
Functions
crc32.hh File Reference

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

#include "types.h"

Functions

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

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::crc_update(), ghidra::ToOpEdge::hash(), ghidra::Scope::hashScopeName(), and ghidra::DynamicHash::pieceTogetherHash().