mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-10 08:14:35 +00:00
CL without arguments is an alias for 'CL $$'
This commit is contained in:
parent
fa4df53077
commit
d47b488a0f
@ -158,7 +158,6 @@ static int cmd_meta_lineinfo(RCore *core, const char *input) {
|
||||
} else {
|
||||
sdb_foreach (core->bin->cur->sdb_addrinfo, print_addrinfo, NULL);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -167,8 +166,10 @@ static int cmd_meta_lineinfo(RCore *core, const char *input) {
|
||||
}
|
||||
|
||||
if (*p) {
|
||||
ret = sscanf(p, "0x%"PFMT64x, &offset);
|
||||
if (ret != 1) {
|
||||
offset = r_num_math (core->num, p);
|
||||
if (!offset)
|
||||
offset = core->offset;
|
||||
} else offset = core->offset;
|
||||
colon = strchr (p, ':');
|
||||
if (colon) {
|
||||
space = strchr (p, ' ');
|
||||
@ -218,8 +219,6 @@ static int cmd_meta_lineinfo(RCore *core, const char *input) {
|
||||
return 0;
|
||||
}
|
||||
offset = core->offset;
|
||||
}
|
||||
}
|
||||
|
||||
if (offset != UT64_MAX) {
|
||||
if (remove) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user