Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asn1c
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
asn1c
Commits
a4f68912
Commit
a4f68912
authored
Sep 27, 2017
by
Lev Walkin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
less misleading name
parent
16555a1e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
skeletons/INTEGER.c
skeletons/INTEGER.c
+1
-1
skeletons/NativeEnumerated_oer.c
skeletons/NativeEnumerated_oer.c
+1
-1
skeletons/asn_system.h
skeletons/asn_system.h
+5
-3
No files found.
skeletons/INTEGER.c
View file @
a4f68912
...
...
@@ -788,7 +788,7 @@ INTEGER_encode_uper(asn_TYPE_descriptor_t *td,
/*
* This function is only to get rid of Undefined Behavior Sanitizer warning.
*/
static
intmax_t
CC_NO_SANITIZE
(
"shift-base"
)
static
intmax_t
CC_
ATTR_
NO_SANITIZE
(
"shift-base"
)
asn__safe_integer_convert_helper
(
const
uint8_t
*
b
,
const
uint8_t
*
end
)
{
intmax_t
value
;
...
...
skeletons/NativeEnumerated_oer.c
View file @
a4f68912
...
...
@@ -12,7 +12,7 @@
/*
* This function is only to get rid of Undefined Behavior Sanitizer warning.
*/
static
intmax_t
CC_NO_SANITIZE
(
"shift-base"
)
static
intmax_t
CC_
ATTR_
NO_SANITIZE
(
"shift-base"
)
asn__safe_nativeenumerated_convert_helper
(
const
uint8_t
*
b
,
const
uint8_t
*
end
)
{
intmax_t
value
;
...
...
skeletons/asn_system.h
View file @
a4f68912
...
...
@@ -109,9 +109,11 @@ typedef unsigned int uint32_t;
#else
#define CC_ATTRIBUTE(attr)
#endif
#define CC_PRINTFLIKE(fmt, var) CC_ATTRIBUTE(format(printf, fmt, var))
#define CC_NOTUSED CC_ATTRIBUTE(unused)
#define CC_NO_SANITIZE(what) CC_ATTRIBUTE(no_sanitize(what))
#define CC_PRINTFLIKE(fmt, var) CC_ATTRIBUTE(format(printf, fmt, var))
#define CC_NOTUSED CC_ATTRIBUTE(unused)
#ifndef CC_ATTR_NO_SANITIZE
#define CC_ATTR_NO_SANITIZE(what) CC_ATTRIBUTE(no_sanitize(what))
#endif
/* Figure out if thread safety is requested */
#if !defined(ASN_THREAD_SAFE) && (defined(THREAD_SAFE) || defined(_REENTRANT))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment