mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 15:10:53 +00:00
Skip the alias marker in the qjs loader
This commit is contained in:
parent
4bff10ff8c
commit
1c8bd6d592
@ -99,6 +99,12 @@ static int r2qjs_loader(JSContext *ctx, const char *const buffer) {
|
||||
if (!nl) {
|
||||
break;
|
||||
}
|
||||
if (strstr (ptr, alias_marker)) {
|
||||
// skip line
|
||||
// R_LOG_INFO ("ALIAS %s", ptr);
|
||||
ptr = nl + 1;
|
||||
continue;
|
||||
}
|
||||
int size = atoi (ptr);
|
||||
if (size < 1) {
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user