Skip to content

Commit

Permalink
Map only N_SECT symbols to target
Browse files Browse the repository at this point in the history
  • Loading branch information
farcaller committed Apr 17, 2012
1 parent ed267a4 commit 9fae688
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/indis-macho.rb
Expand Up @@ -204,6 +204,8 @@ def build_symbols

cmd = symtabcommand.first
cmd.symbols.each do |sym|
next if sym.stab? || sym.type != :SECT # we map only SECT symbols

sec = if sym.sect > 0
@indexed_sections[sym.sect]
else
Expand Down

0 comments on commit 9fae688

Please sign in to comment.