Defined in 1 files as a function:
Referenced in 13 files:
- arch/x86/entry/vsyscall/vsyscall_64.c, line 127
- arch/x86/events/core.c
- arch/x86/include/asm/elfcore-compat.h
- arch/x86/include/asm/ptrace.h, line 252
- arch/x86/include/asm/unwind_user.h, line 15
- arch/x86/kernel/perf_regs.c
- arch/x86/kernel/ptrace.c, line 1398
- arch/x86/kernel/signal_64.c
- arch/x86/kernel/step.c, line 86
- arch/x86/kernel/umip.c, line 384
- arch/x86/kernel/uprobes.c
- arch/x86/lib/insn-eval.c
- arch/x86/mm/fault.c, line 93
Smatch caller information:
arch/x86/entry/vsyscall/vsyscall_64.c __emulate_vsyscall() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| CAPPED_DATA | 0 | regs | 1 |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH |
arch/x86/kernel/umip.c fixup_umip_exception() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 1-u16max |
| CAPPED_DATA | 0 | regs | 1 |
| CAPPED_DATA | 0 | regs->cs | 1 |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD |
arch/x86/kernel/signal_64.c frame_uc_flags() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | regs->ip | 4-18446744073709551614 |
| NO_OVERFLOW_SIMPLE | 0 | regs->dx |
arch/x86/kernel/signal_64.c restore_sigcontext() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| DATA_SOURCE | 0 | regs | $0 |
| BIT_INFO | 0 | regs->cs | 0x3,0xffff |
| BIT_INFO | 0 | regs->ss | 0x3,0xffff |
| USER_DATA | 0 | regs->ax | 0-u64max |
| USER_DATA | 0 | regs->bp | 0-u64max |
| USER_DATA | 0 | regs->bx | 0-u64max |
| USER_DATA | 0 | regs->cs | 0-u16max |
| USER_DATA | 0 | regs->cx | 0-u64max |
| USER_DATA | 0 | regs->di | 0-u64max |
| USER_DATA | 0 | regs->dx | 0-u64max |
| USER_DATA | 0 | regs->flags | 0-u64max[c] |
| USER_DATA | 0 | regs->ip | 0-u64max |
| USER_DATA | 0 | regs->r10 | 0-u64max |
| USER_DATA | 0 | regs->r11 | 0-u64max |
| USER_DATA | 0 | regs->r12 | 0-u64max |
| USER_DATA | 0 | regs->r13 | 0-u64max |
| USER_DATA | 0 | regs->r14 | 0-u64max |
| USER_DATA | 0 | regs->r15 | 0-u64max |
| USER_DATA | 0 | regs->r8 | 0-u64max |
| USER_DATA | 0 | regs->r9 | 0-u64max |
| USER_DATA | 0 | regs->si | 0-u64max |
| USER_DATA | 0 | regs->sp | 0-u64max |
| USER_DATA | 0 | regs->ss | 0-u16max |
arch/x86/mm/fault.c check_prefetch_opcode() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 1-u16max |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/events/intel/ds.c any_64bit_mode() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 2258340884549439488,4373330641156743168,7177434765341941760 |
| PARAM_VALUE | 0 | regs->cs | 16,51 |
| DATA_SOURCE | 0 | regs | $0 |
| BIT_INFO | 0 | regs->flags | 0x0,0xfffffffffffffff7 |
arch/x86/kernel/ptrace.c task_user_regset_view() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/perf_regs.c perf_get_regs_user() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
arch/x86/kernel/perf_regs.c perf_reg_abi() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read |
arch/x86/lib/insn-eval.c any_64bit_mode() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 1-u16max |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/lib/insn-eval.c insn_decode_from_regs() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 1-u16max |
| CAPPED_DATA | 0 | regs->cs | 1 |
| DATA_SOURCE | 0 | regs | $1 |
| PREEMPT_ADD |
arch/x86/lib/insn-eval.c insn_get_effective_ip() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/events/core.c code_segment_base() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 1-u16max |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | regs->ax | 0-u64max |
| USER_DATA | 0 | regs->cx | 0-u64max |
| USER_DATA | 0 | regs->r11 | 0-u64max |
| LOCK2 | rcu_read |
arch/x86/events/core.c perf_callchain_user32() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $0 |
| BIT_INFO | 0 | regs->flags | 0x0,0xffffffffffffffdf |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | regs->ax | 0-u64max |
| USER_DATA | 0 | regs->cx | 0-u64max |
| USER_DATA | 0 | regs->r11 | 0-u64max |
arch/x86/kernel/uprobes.c __arch_uprobe_optimize() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &mm->mmap_lock | ||
| TYPE_LOCK | (struct mm_struct)->mmap_lock |
arch/x86/kernel/uprobes.c arch_uretprobe_trampoline() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/uprobes.c is_uprobe_at_func_entry() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | regs | (-1),168 |
| BUF_SIZE | 0 | regs | (-1),168 |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | regs->ax | 0-u64max |
| USER_DATA | 0 | regs->cx | 0-u64max |
| USER_DATA | 0 | regs->r11 | 0-u64max |
arch/x86/kernel/uprobes.c sizeof_long() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| DATA_SOURCE | 0 | regs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | regs->ax | 0-u64max |
| USER_DATA | 0 | regs->cx | 0-u64max |
| USER_DATA | 0 | regs->ip | 0-u64max |
| USER_DATA | 0 | regs->r11 | 0-u64max |
| NO_OVERFLOW_SIMPLE | 0 | regs->dx |
kernel/unwind/user.c unwind_user_word_size() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 1-u16max |
| DATA_SOURCE | 0 | regs | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/events/utils.c any_64bit_mode() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| PARAM_VALUE | 0 | regs->cs | 1-u16max |
| DATA_SOURCE | 0 | regs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/compat_binfmt_elf.c fill_thread_core_info() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/compat_binfmt_elf.c fill_thread_core_info() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/step.c is_setting_trap_flag() -> user_64bit_mode()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | regs | 4096-ptr_max |
| DATA_SOURCE | 0 | regs | $1 |
| BIT_INFO | 0 | regs->flags | 0x100,0xffffffffffffffff |