函数逻辑报告 |
Source Code:arch\x86\boot\string.c |
Create Date:2022-07-27 08:26:11 |
| Last Modify:2022-05-21 21:56:45 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:内存比较
函数原型:int memcmp(const void *s1, const void *s2, size_t len)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| const void * | s1 | |
| const void * | s2 | |
| size_t | len |
| 35 | asm("repe; cmpsb" CC_SET:CC_OUT(diff), "+D"(s1), "+S"(s2), "+c"(len)) |
| 37 | 返回:diff |
| 名称 | 描述 |
|---|---|
| bcmp | Clang may lower `memcmp == 0` to `bcmp == 0`. |
| strstr | strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for |
| arch_jump_label_transform_static | |
| __text_poke | |
| text_poke_loc_init | |
| tboot_probe | |
| microcode_check | The microcode loader calls this upon late microcode load to recheck features,* only when microcode has been updated. Caller holds microcode_mutex and CPU* hotplug lock. |
| vmware_platform | While checking the dmi string information, just checking the product* serial key should be enough, as this will always have a VMware* specific string when running under VMware hypervisor.* If !boot_cpu_has(X86_FEATURE_HYPERVISOR), vmware_hypercall_mode |
| ms_hyperv_platform | |
| smp_check_mpc | Read/parse the MPC |
| mp_save_irq | Will be called in mpparse/acpi/sfi codes for saving IRQ info |
| bzImage64_probe | |
| mark_swapfiles | Saving part |
| swsusp_check | swsusp_check - Check for swsusp signature in the resume device |
| irq_timings_next_event_index | |
| find_module_all | Search for module by name: must hold module_mutex (or preempt disabled* for read-only access). |
| elf_header_check | Sanity checks against invalid binaries, wrong arch, weird elf version. |
| blacklisted | |
| elf_is_elf_file | |
| compare_css_sets | mpare_css_sets - helper function for find_existing_css_set() |
| gdb_cmd_query | Handle the 'q' query packets |
| keys_match | |
| cmp_entries_dup | |
| detect_dups | |
| regex_match_end | |
| regsafe | Returns true if (rold safe implies rcur safe) |
| refsafe | |
| states_maybe_looping | |
| opt_remove_nops | |
| lookup_elem_raw | his lookup function can only be called with bucket lock taken |
| lookup_nulls_elem_raw | an be called without bucket lock. it will repeat the loop in* the unlikely event when elements moved from one bucket into another* while link list is being walked |
| stack_map_get_build_id | Parse build ID of ELF file mapped to vma |
| ____bpf_get_stackid | |
| modify_user_hw_breakpoint_check | |
| do_header | |
| read_swap_header | |
| OK_id | |
| atari_partition | |
| sysv68_partition | |
| TSS_checkhmac1 | verify the AUTH1_COMMAND (Seal) result from TPM |
| TSS_checkhmac2 | verify the AUTH2_COMMAND (unseal) result from TPM |
| match_opt_prefix | |
| match_opt_prefix | |
| tomoyo_same_condition | moyo_same_condition - Check for duplicated "struct tomoyo_condition" entry.*@a: Pointer to "struct tomoyo_condition".*@b: Pointer to "struct tomoyo_condition".* Returns true if @a == @b, false otherwise. |
| tomoyo_same_number_group | moyo_same_number_group - Check for duplicated "struct tomoyo_number_group" entry.*@a: Pointer to "struct tomoyo_acl_head".*@b: Pointer to "struct tomoyo_acl_head".* Returns true if @a == @b, false otherwise. |
| tomoyo_address_matches_group | moyo_address_matches_group - Check whether the given address matches members of the given address group.*@is_ipv6: True if @address is an IPv6 address.*@address: An IPv4 or IPv6 address.*@group: Pointer to "struct tomoyo_address_group". |
| tomoyo_print_ipv6 | moyo_print_ipv6 - Print an IPv6 address.*@buffer: Buffer to write to.*@buffer_len: Size of @buffer.*@min_ip: Pointer to "struct in6_addr".*@max_ip: Pointer to "struct in6_addr".* Returns nothing. |
| tomoyo_check_inet_acl | moyo_check_inet_acl - Check permission for inet domain socket operation.*@r: Pointer to "struct tomoyo_request_info".*@ptr: Pointer to "struct tomoyo_acl_info".* Returns true if granted, false otherwise. |
| aa_write_access | aa_write_access - generic permissions and data query*@file: pointer to open apparmorfs/access file*@ubuf: user buffer containing the complete query string (NOT NULL)*@count: size of ubuf*@ppos: position in the file (MUST BE ZERO)* Allows for one |
| aa_rawdata_eq | |
| ima_lookup_digest_entry | lookup up the digest value in the hash table, and return the entry |
| ima_get_hash_algo | |
| xattr_verify | xattr_verify - verify xattr digest or signature* Verify whether the hash or signature matches the file contents.* Return 0 on success, error code otherwise. |
| ima_read_modsig | ma_read_modsig - Read modsig from buf.* Return: 0 on success, error code otherwise. |
| find_or_insert_direct_key | Find/insert the given key into the fscrypt_direct_keys table. If found, it* is returned with elevated refcount, and 'to_insert' is freed if non-NULL. If* not found, 'to_insert' is inserted and returned if it's non-NULL; otherwise* NULL is returned. |
| fscrypt_policies_equal | |
| cmp_hashes | |
| load_em86 | |
| load_elf_binary | |
| is_elf | |
| v2r0_disk2memdqb | |
| v2r1_disk2memdqb | |
| __jump_label_set_jump_code | |
| dattrs_equal | handle null as "default" |
| addr_match | |
| tomoyo_same_ipaddr_union | moyo_same_ipaddr_union - Check for duplicated "struct tomoyo_ipaddr_union" entry.*@a: Pointer to "struct tomoyo_ipaddr_union".*@b: Pointer to "struct tomoyo_ipaddr_union".* Returns true if @a == @b, false otherwise. |
| fscrypt_match_name | |
| fanotify_fid_equal | |
| fscrypt_policies_equal | scrypt_policies_equal - check whether two encryption policies are the same* Return: %true if equal, else %false |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |