mirror of
https://github.com/openharmony/third_party_bounds_checking_function.git
synced 2026-07-18 17:34:47 -04:00
update openharmony 1.0.1
This commit is contained in:
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
-37
@@ -41,40 +41,3 @@ int mbtowc(wchar_t *pwc, const char *s, size_t n)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* The V100R001C01 version num is 0x5 (High 8 bits) */
|
||||
#define SECUREC_C_VERSION 0x500U
|
||||
#define SECUREC_SPC_VERSION 0xaU
|
||||
#define SECUREC_VERSION_STR "V100R001C01SPC010B002"
|
||||
|
||||
/*
|
||||
* Get version string and version number.
|
||||
* The rules for version number are as follows:
|
||||
* 1) SPC verNumber<->verStr like:
|
||||
* 0x201<->C01
|
||||
* 0x202<->C01SPC001 Redefine numbers after this version
|
||||
* 0x502<->C01SPC002
|
||||
* 0x503<->C01SPC003
|
||||
* ...
|
||||
* 0X50a<->SPC010
|
||||
* 0X50b<->SPC011
|
||||
* ...
|
||||
* 0x700<->C02
|
||||
* 0x701<->C01SPC001
|
||||
* 0x702<->C02SPC002
|
||||
* ...
|
||||
* 2) CP verNumber<->verStr like:
|
||||
* 0X601<->CP0001
|
||||
* 0X602<->CP0002
|
||||
* ...
|
||||
*/
|
||||
const char *GetHwSecureCVersion(unsigned short *verNumber)
|
||||
{
|
||||
if (verNumber != NULL) {
|
||||
*verNumber = (unsigned short)(SECUREC_C_VERSION | SECUREC_SPC_VERSION);
|
||||
}
|
||||
return SECUREC_VERSION_STR;
|
||||
}
|
||||
#if SECUREC_IN_KERNEL
|
||||
EXPORT_SYMBOL(GetHwSecureCVersion);
|
||||
#endif
|
||||
|
||||
|
||||
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Executable → Regular
Reference in New Issue
Block a user