Print this page
3544 save-args matcher could be considerably more robust
3545 save-args matcher should accept saves may be out-of-order
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>

*** 27,39 **** /* * Copyright 2007 Jason King. All rights reserved. * Use is subject to license terms. */ - - #pragma ident "%Z%%M% %I% %E% SMI" - /* * The sparc disassembler is mostly straightforward, each instruction is * represented by an inst_t structure. The inst_t definitions are organized * into tables. The tables are correspond to the opcode maps documented in the * various sparc architecture manuals. Each table defines the bit range of the --- 27,36 ----
*** 227,236 **** --- 224,240 ---- return (pc); return (pc - n*4); } + /* ARGSUSED */ + int + dis_instrlen(dis_handle_t *dhp, uint64_t pc) + { + return (4); + } + int dis_disassemble(dis_handle_t *dhp, uint64_t addr, char *buf, size_t buflen) { const table_t *tp = &initial_table; const inst_t *inp = NULL;