MCPcopy Create free account
hub / github.com/F-Stack/f-stack / db_disasm

Function db_disasm

freebsd/mips/mips/db_disasm.c:138–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136static int md_printins(int ins, int mdbdot);
137
138db_addr_t
139db_disasm(db_addr_t loc, bool altfmt)
140
141{
142 int ins;
143
144 if (vtophys((vm_offset_t)loc)) {
145 db_read_bytes((vm_offset_t)loc, (size_t)sizeof(int),
146 (char *)&ins);
147 md_printins(ins, loc);
148 }
149
150 return (loc + sizeof(int));
151}
152
153/* ARGSUSED */
154static int

Callers

nothing calls this directly

Calls 2

md_printinsFunction · 0.85
db_read_bytesFunction · 0.70

Tested by

no test coverage detected