mirror of
https://github.com/openssl/openssl.git
synced 2024-12-25 18:03:35 +08:00
don't assume 0x is at start of string
This commit is contained in:
parent
2712a2f625
commit
c95bf51167
@ -578,7 +578,7 @@ my %globals;
|
||||
my $last = pop(@arr);
|
||||
my $conv = sub { my $var=shift;
|
||||
$var=~s/^(0b[0-1]+)/oct($1)/eig;
|
||||
$var=~s/^0x([0-9a-f]+)/0$1h/ig if ($masm);
|
||||
$var=~s/0x([0-9a-f]+)/0$1h/ig if ($masm);
|
||||
if ($sz eq "D" && ($current_segment=~/.[px]data/ || $dir eq ".rva"))
|
||||
{ $var=~s/([_a-z\$\@][_a-z0-9\$\@]*)/$nasm?"$1 wrt ..imagebase":"imagerel $1"/egi; }
|
||||
$var;
|
||||
|
Loading…
Reference in New Issue
Block a user