Sha256: 8f5f02cd8a16314afca624578cc9c967444e262d05273a63200b6d24257ca65a
Contents?: true
Size: 778 Bytes
Versions: 4
Compression:
Stored size: 778 Bytes
Contents
# This file is part of Metasm, the Ruby assembly manipulation suite # Copyright (C) 2006-2009 Yoann GUILLOT # # Licence is LGPL, see LICENCE in the top-level directory require 'metasm/cpu/arm/opcodes' module Metasm class ARM def dbg_register_pc @dbg_register_pc ||= :pc end def dbg_register_flags @dbg_register_flags ||= :flags end def dbg_register_list @dbg_register_list ||= [:r0, :r1, :r2, :r3, :r4, :r5, :r6, :r7, :r8, :r9, :r10, :r11, :r12, :sp, :lr, :pc] end def dbg_flag_list @dbg_flag_list ||= [] end def dbg_register_size @dbg_register_size ||= Hash.new(32) end def dbg_need_stepover(dbg, addr, di) di and di.opcode.props[:saveip] end def dbg_end_stepout(dbg, addr, di) di and di.opcode.name == 'foobar' # TODO end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
metasm-1.0.5 | metasm/cpu/arm/debug.rb |
metasm-1.0.4 | metasm/cpu/arm/debug.rb |
metasm-1.0.3 | metasm/cpu/arm/debug.rb |
metasm-1.0.2 | metasm/cpu/arm/debug.rb |