| /xnu-11215/bsd/kern/ |
| H A D | kdebug_triage.c | 139 const char **subsystem_strings = ktriage_subsystems_strings[subsystem].strings; in ktriage_convert_to_string() 259 ktriage_subsystems_strings[subsystem].strings = subsystem_strings->strings; in ktriage_register_subsystem_strings() 283 ktriage_subsystems_strings[subsystem].strings = NULL; in ktriage_unregister_subsystem_strings()
|
| /xnu-11215/libkern/kxld/ |
| H A D | kxld_symtab.c | 48 char *strings; member 149 symtab->strings = (char *)(uintptr_t)kernel_linkedit_seg->base_addr + in init_macho() 154 symtab->strings = (char *) (macho + src->stroff); in init_macho() 193 rval = kxld_sym_init_from_macho32(sym, symtab->strings, &src_syms[i]); in init_syms_32() 220 rval = kxld_sym_init_from_macho64(sym, symtab->strings, &src_syms[i]); in init_syms_64() 292 symtab->strings = NULL; in kxld_symtab_clear()
|
| H A D | Makefile | 73 -Wwrite-strings -Wshorten-64-to-32 -Wshadow -Winit-self -Wpointer-arith \ 75 -Wcast-qual -Wwrite-strings -Wswitch -Wcast-align -Wbad-function-cast \
|
| /xnu-11215/bsd/dev/dtrace/ |
| H A D | fbt.c | 347 …ruct modctl *ctl, kernel_section_t *sect, kernel_nlist_t *sym, uint32_t nsyms, const char *strings) in fbt_provide_kernel_section() argument 359 const char *name = strings + sym[i].n_un.n_strx; in fbt_provide_kernel_section() 413 const char *strings; in fbt_provide_module_kernel_syms() local 442 strings = (const char *)(linkedit->vmaddr + symtab->stroff - linkedit->fileoff); in fbt_provide_module_kernel_syms() 461 fbt_provide_kernel_section(ctl, sect, sorted_syms, symtab->nsyms, strings); in fbt_provide_module_kernel_syms()
|
| H A D | sdt.c | 481 sdt_find_symbol_table(struct modctl *ctl, kernel_nlist_t **sym, char **strings) in sdt_find_symbol_table() argument 507 *strings = (char *)(orig_le->vmaddr + orig_st->stroff - orig_le->fileoff); in sdt_find_symbol_table() 578 char *strings = NULL; in sdt_load_machsect() local 595 if (MOD_HAS_KERNEL_SYMBOLS(ctl) && (nsyms = sdt_find_symbol_table(ctl, &sym, &strings)) == 0) { in sdt_load_machsect() 648 char *jname = strings + sym[i].n_un.n_strx; in sdt_load_machsect()
|
| /xnu-11215/bsd/sys/ |
| H A D | fsctl.h | 226 user64_addr_t strings; member 232 user32_addr_t strings; member 240 const char *strings; member
|
| H A D | kdebug_kernel.h | 485 const char **strings; member
|
| /xnu-11215/doc/primitives/ |
| H A D | string-handling.md | 13 * Use `strbuf*` when you have the length for all the strings; 16 * use `str*` when you don't have the length for any of the strings, and they 31 Using `strncmp` with two NUL-terminated strings is uncommon and it has no 54 never use `str` functions to write to strings. Functions that simply read 55 strings (`strlen`, `strcmp`, `strchr`, etc) are generally found to be safe 89 When enabling -fbounds-safety, character buffers and NUL-terminated strings are 207 strings, it could be simply more convenient to keep string buffers in some 209 NUL-terminated strings.
|
| /xnu-11215/tools/trace/ |
| H A D | kqtrace.lua | 62 function state_string(strings, state) 65 for name, bit in pairs(strings) do
|
| /xnu-11215/san/memory/ |
| H A D | kasan_dynamic_blacklist.c | 285 const char *strings; in addr_to_func() local 307 strings = (const void *)((le->vmaddr - le->fileoff) + st->stroff); in addr_to_func() 315 const char *name = strings + syms[i].n_un.n_strx; in addr_to_func()
|
| /xnu-11215/makedefs/ |
| H A D | MakeInc.color | 50 # Error strings: red text
|
| H A D | MakeInc.cmd | 7 # strings that may be evaluated as utility functions.
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | README.md | 87 …do plumbing of lldb command invocation to python function call. (see doc strings for @lldb_command) 96 …* Customization for plugging in summary functions for lldb type summaries. (see doc strings for @l… 99 * Ability to register test cases for macros (see doc strings for @xnudebug_test). 178 …7. Please use "##" for commenting your code. This is important because single "#" based strings ma… 286 - Trying to modify a string value? You can only create new strings but never modify existing ones. 318 …e "{0: <#020x}".format(some_int_value). This will print nice 0x prefixed strings with length padde… 322 …then for the header just change the x's and d's to s and pass the header strings to format command… 393 …* Take a peek at utils.py for common utility like sizeof_fmt() to humanize size strings in KB, MB …
|
| /xnu-11215/libsyscall/mach/ |
| H A D | err_ipc.sub | 36 * Definitions of error strings for original IPC
|
| H A D | err_server.sub | 36 * Definitions of Servers error strings
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_sanitize_telemetry.c | 51 #pragma mark KTriage strings
|
| /xnu-11215/libkern/libkern/ |
| H A D | version.h.template | 26 /* Kernel versions conform to kext version strings, as described in:
|
| /xnu-11215/doc/debugging/ |
| H A D | debugging.md | 93 ### Encoding data to strings and back 95 All strings are now `unicode` and must be converted between binary data and strings explicitly.
|
| /xnu-11215/osfmk/i386/AT386/ |
| H A D | model_dep.c | 1086 char *strings, *bestsym = NULL; in panic_print_macho_symbol_name() local 1124 strings = (char *)(uintptr_t)(orig_le->vmaddr + orig_st->stroff - orig_le->fileoff); in panic_print_macho_symbol_name() 1137 bestsym = strings + sym[i].n_un.n_strx; in panic_print_macho_symbol_name()
|
| /xnu-11215/config/ |
| H A D | MASTER | 196 # CONFIG_VFS_NAMES - name strings 306 # configurable kernel - use these options to strip strings from panic
|
| /xnu-11215/iokit/Kernel/ |
| H A D | IOUserServer.cpp | 2489 const char strings[0]; member 2778 bcopy(string, (void *) &array->strings[0], userSize); in copyInStringArray() 2781 end = &array->strings[array->dataSize]; in copyInStringArray() 2782 cstr = OSBoundedPtr<const char>(&array->strings[0], &array->strings[0], end); in copyInStringArray() 2808 end = &array->strings[array->dataSize]; in stringArrayIndex() 2809 cstr = OSBoundedPtr<const char>(&array->strings[0], &array->strings[0], end); in stringArrayIndex()
|
| /xnu-11215/doc/vm/ |
| H A D | sanitize.md | 375 Note that the trial name strings produced by the generator are used by
|
| /xnu-11215/libsyscall/Libsyscall.xcodeproj/ |
| H A D | project.pbxproj | 722 …5816F8776300F92D8D /* strings.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType … 1185 E4D7E55816F8776300F92D8D /* strings.h */,
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_syscalls.c | 12933 assert(((user64_package_ext_info *)data)->strings <= UINT32_MAX); in fsctl_internal() 12935 ext_strings = (user_addr_t)((user64_package_ext_info *)data)->strings; in fsctl_internal() 12939 ext_strings = CAST_USER_ADDR_T(((user32_package_ext_info *)data)->strings); in fsctl_internal()
|