rpm
5.4.10
|
Go to the source code of this file.
Macros | |
#define | _RPMTAG_INTERNAL |
Functions | |
int | headerVerifyInfo (rpmuint32_t il, rpmuint32_t dl, const void *pev, void *iv, int negate) |
Perform simple sanity and range checks on header tag(s). More... | |
Variables | |
int | rpm_typeAlign [16] |
Alignment needs (and sizeof scalars types) for internal rpm data types. More... | |
#define _RPMTAG_INTERNAL |
Definition at line 8 of file header_internal.c.
int headerVerifyInfo | ( | rpmuint32_t | il, |
rpmuint32_t | dl, | ||
const void * | pev, | ||
void * | iv, | ||
int | negate | ||
) |
Perform simple sanity and range checks on header tag(s).
il | no. of tags in header |
dl | no. of bytes in header data. |
pev | 1st element in tag array, big-endian |
iv | failing (or last) tag element, host-endian |
negate | negative offset expected? |
Definition at line 36 of file header_internal.c.
References entryInfo_s::count, hdrchkAlign, hdrchkData, hdrchkRange, hdrchkType, entryInfo_s::offset, RPM_UINT8_TYPE, entryInfo_s::tag, and entryInfo_s::type.
Referenced by headerCheck(), and rdSignature().
int rpm_typeAlign[16] |
Alignment needs (and sizeof scalars types) for internal rpm data types.
Sanity check on data alignment for data type.
Definition at line 17 of file header_internal.c.