Home
last modified time | relevance | path

Searched refs:hex (Results 1 – 25 of 27) sorted by relevance

12

/xnu-11215/tools/lldbmacros/
H A Dnet.py92 out_string += "\n\t(struct ifnet *)" + hex(ifnet)
549 out_string += "inpcb: " + hex(pcb)
565 out_string += "inpcb: " + hex(pcb) + " "
581 out_string += "unpcb: " + hex(pcb) + " "
593 out_string += "vsockpcb: " + hex(pcb) + " "
1489 out_string += hex(pcb)
1848 out_string += hex(ppcb) + ": lport "
1949 out_string += " unp_socket: " + hex(pcb.unp_socket)
1950 out_string += " unp_vnode: " + hex(pcb.unp_vnode)
1951 out_string += " unp_conn: " + hex(pcb.unp_conn)
[all …]
H A Dmbufs.py702 out_string += "m_flags: " + hex(mhflags)
914 out_string = f.format(hex(mbuf), mbuf_string)
917 print(lldb_run_command('kasan whatis {addr}'.format(addr=hex(mbuf))))
927 out_string = f.format(hex(mbuf), mbuf_string)
930 print(lldb_run_command('kasan whatis {addr}'.format(addr=hex(mbuf))))
1011 … out_string += "\nControlling mcache :\t" + hex(mca.mca_cache) + " (" + str(cp.mc_name) + ")\n"
1024 out_string += "mbuf obj :\t\t" + hex(mca.mca_addr) + "\n"
1028 … out_string += "paired cluster obj :\t" + hex(peer_mca.mca_addr) + " (mca " + hex(peer_mca) + ")\n"
1031 out_string += "cluster obj :\t\t" + hex(mca.mca_addr) + "\n"
1034 … out_string += "paired mbuf obj :\t" + hex(peer_mca.mca_addr) + " (mca " + hex(peer_mca) + ")\n"
[all …]
H A Dskywalk.py429 ifp = "(ifnet *)" + hex(nt.nt_ifp)
631 type_str = "{:>18s}{:18s}".format("(nx_flowswitch *)", hex(nx.nx_arg))
633 type_str = "{:>18s}{:18s}".format("(nx_netif *)", hex(nx.nx_arg))
635 type_str = "{:>18s}{:18s}".format("(nx_upipe *)", hex(nx.nx_arg))
641 return "(kern_nexus *){:18s} {:s}".format(hex(nx), type_str)
699 hex(fe), GetUUIDSummary(fe.fe_uuid), FlowKeyStr(fe.fe_key), str(fe.fe_proc_name))
723 return "{}:\n(nx_flowswitch *){}".format(str(fsw.fsw_ifp.if_xname), hex(fsw))
779 …print("(cuckoo_hashtable *){:18s} capacity {:d} entries {:d}".format(hex(cht), cht._capacity, cht.…
781 print(" node {} hash 0x{:08x}".format(hex(node), int(hashValue)))
793 hex(pt), int(pt.pt_protocol), int(pt.pt_pid), int(pt.pt_epid),
[all …]
H A Duserspace.py183 print("0x%x: " % (uspace_addr + i*element_size) + hex(upacked_data[i]))
309 ShowTaskUserLibraries([hex(task)])
544 …debuglog("Found load command to be 0xe for address %s" % hex(ShowTaskUserLibraries.exec_load_path))
575 debuglog("dyld_all_image_infos_address = %s" % hex(dyld_all_image_infos_address))
609 …debuglog("i = %d, image_info_address = %s, image_info_size = %d" % (i, hex(image_info_address), im…
626 …log("Found image: image_info_addr = %s, image_info_path= %s" % (hex(image_info_addr), hex(image_in…
H A Dutils.py242 addr = int(hex(addr).rstrip('L'), 16)
273 addr = int(hex(addr).rstrip('L'), 16)
289 addr = int(hex(addr).rstrip('L'), 16)
305 addr = int(hex(addr).rstrip('L'), 16)
H A Dprocess.py447 thread_id = hex(thread.thread_id)
448 processor = hex(thread.last_processor)
502 wait_event_str_sym = kern.Symbolicate(int(hex(thread.wait_event), 16))
803 return "Unknown type " + str(pval.GetType()) + " " + str(hex(proc))
805 proc_addr = int(hex(proc), 16)
870 open_fn = kern.Symbolicate(int(hex(tty_dev.open), 16))
871 free_fn = kern.Symbolicate(int(hex(tty_dev.free), 16))
872 name_fn = kern.Symbolicate(int(hex(tty_dev.name), 16))
873 revoke_fn = kern.Symbolicate(int(hex(tty_dev.revoke), 16))
2436 ShowThreadUserStack([hex(thval)])
[all …]
H A Dnvram.py23 …var_dict = kern.GetValueFromAddress('((IODTNVRAM*)' + hex(options) + ')->_varDict', 'OSDictionary …
H A Dipcimportancedetail.py110 key = hex(unsigned(task_kobj))
H A Dmemory.py1479 print("vm_map entries for task " + hex(task))
2083 v_data_ptr = int(hex(vnode.v_data), 16)
2089 parent_ptr = int(hex(vnode.v_parent), 16)
2090 name_ptr = int(hex(vnode.v_name), 16)
2169 ShowVolBusyVnodes([hex(mntval)])
2576 found.add(hex(entry.rwlde_lock))
3062 print("vm_map entries for task " + hex(task))
3224 print("Searching for Page: ",hex(page))
3225 show_call_chain(hex(page), O)
3228 show_call_chain(hex(m_object_val),O)
[all …]
H A Dioreg.py705 .format(ic=matchingIC.name, gsi=hex(gsi),
711 …r += " +----- [Interrupt Controller {ic}] vector {gsi}\n".format(ic=matchingIC.name, gsi=hex(gsi))
1298 self.name, hex(self.base_vector_number), str(self.device), str(self.driver))
H A Dmisc.py50 print(lldb_run_command('p/x *(x86_saved_state_t *) ' + hex(reg)))
H A Dscheduler.py616 if (hex(rt_runq.count) == hex(0xfdfdfdfd)) :
H A Dpmap.py980 RunLldbCmdHelper("p/x *(pt_desc_t*)" + hex(ptd))
985 RunLldbCmdHelper("p/x ((pt_desc_t*)" + hex(ptd) + ")->ptd_info[0]")
H A Dipc.py6 from builtins import hex
670 entry_ptr = int(hex(entry), 16)
H A Dkcdata.py1852 s += "flags {}".format(hex(flags))
2570 return hex(v)
H A Dxnu.py1490 …str(x[IDX_RINGENTRY].duration) if hex(x[IDX_RINGENTRY].duration) != "0xffffffffffffffff" else 'inp…
/xnu-11215/libsyscall/mach/
H A Dstring.c31 static const char hex[] = "0123456789abcdef"; variable
55 *--cp = hex[n & 0xf]; in _mach_hex()
/xnu-11215/bsd/libkern/
H A Dlibkern.h99 #define hex2ascii(hex) (hex2ascii_data[hex]) argument
/xnu-11215/tools/lldbmacros/usertaskdebugging/
H A Duserprocess.py115 …dbg_message = "process:%s is64bit:%d ptrsize:%d cputype:0x%x cpusubtype:0x%x" % (hex(self.proc), i…
211 cache_key = "{}-{}-{}".format(hex(self.task), hex(address), size)
/xnu-11215/SETUP/config/
H A Dlexer.l37 int hex(char *str);
/xnu-11215/iokit/Kernel/
H A DIOLib.cpp1614 char hex[(bytelen * 16) + 1]; in IOKitKernelLogBuffer() local
1625 snprintf(&hex[bytelen * (idx & 15)], bytelen + 1, "0x%02x, ", c); in IOKitKernelLogBuffer()
1632 output("/* %04lx: */ %-96s /* |%-16s| */\n", linestart, hex, chars); in IOKitKernelLogBuffer()
H A DIOHibernateRestoreKernel.c904 #define hibhex2ascii(hex) (hibhex2ascii_data[hex]) argument
/xnu-11215/bsd/skywalk/core/
H A Dskywalk.c735 static char hex[] = "0123456789abcdef"; in __counted_by() local
740 #define P_HI(x) hex[((x) & 0xf0) >> 4] in __counted_by()
741 #define P_LO(x) hex[((x) & 0xf)] in __counted_by()
/xnu-11215/tools/lldbmacros/core/
H A Doperating_system.py750 'name' : 'switchtoregs' + hex(context),
768 'name' : hex(th.GetValueAsUnsigned()).rstrip('L'),
769 'queue' : hex(wait_queue).rstrip('L'),
/xnu-11215/doc/debugging/
H A Ddebugging.md422 (Pdb) p hex(seg.offset)

12