Skip to content

Commit

Permalink
Merge pull request #29 from devjgm/fix-big-num
Browse files Browse the repository at this point in the history
fix: handle data_member_location == 2^64-1
  • Loading branch information
lvc authored Jun 11, 2021
2 parents fdd403d + ece5156 commit 814effe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions abi-dumper.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1493,9 +1493,11 @@ ($$)

if($Val=~/\A\(\w+\)\s*(-?)(\w+)\Z/)
{ # (data1) 1c
$Val = hex($2);
if($1) {
$Val = -$Val;
if ($2 != 0xFFFFFFFFFFFFFFFF) {
$Val = hex($2);
if($1) {
$Val = -$Val;
}
}
}
else
Expand Down

0 comments on commit 814effe

Please sign in to comment.