mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
kasan: kasan_reset_tag rename kasan_clear_tag
The clear tag is more explicit than the reset tag. Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
This commit is contained in:
committed by
Xiang Xiao
parent
8f6be9a9b5
commit
c6da553788
@@ -184,8 +184,8 @@ aarch64_insn_encode_immediate(enum insn_imm_type_e type,
|
||||
static uint64_t do_reloc(enum reloc_op_e op,
|
||||
uintptr_t place, uint64_t val)
|
||||
{
|
||||
val = (uint64_t)kasan_reset_tag((const void *)val);
|
||||
place = (uint64_t)kasan_reset_tag((const void *)place);
|
||||
val = (uint64_t)kasan_clear_tag((FAR const void *)val);
|
||||
place = (uint64_t)kasan_clear_tag((FAR const void *)place);
|
||||
|
||||
switch (op)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user