Skip to content

Commit 82d8e97

Browse files
committed
Enhancing ImageAndSymbols to load several binaries
Signed-off-by: Florent Vion <[email protected]>
1 parent 36449f8 commit 82d8e97

File tree

1 file changed

+80
-36
lines changed

1 file changed

+80
-36
lines changed

package.json

Lines changed: 80 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -304,25 +304,47 @@
304304
"type": "object",
305305
"default": {},
306306
"properties": {
307-
"symbolFileName": {
308-
"type": "string",
309-
"description": "If specified, a symbol file to load at the given (optional) offset",
310-
"default": ""
311-
},
312-
"symbolOffset": {
313-
"type": "string",
314-
"description": "If symbolFileName is specified, the offset used to load",
315-
"default": ""
316-
},
317-
"imageFileName": {
318-
"type": "string",
319-
"description": "If specified, an image file to load at the given (optional) offset",
320-
"default": ""
307+
"symbolFilesAndOffset": {
308+
"type": "array",
309+
"description": "If specified, list of symbol files to load at the given (optional) offset",
310+
"items": {
311+
"type": "object",
312+
"properties": {
313+
"file": {
314+
"type": "string",
315+
"description": "If specified, a symbol file to load at the given (optional) offset",
316+
"default": ""
317+
},
318+
"offset": {
319+
"type": "string",
320+
"description": "If symbol file is specified, the offset used to load (optional)",
321+
"default": ""
322+
}
323+
},
324+
"default": {}
325+
},
326+
"default": []
321327
},
322-
"imageOffset": {
323-
"type": "string",
324-
"description": "If imageFileName is specified, the offset used to load",
325-
"default": ""
328+
"imageFilesAndOffset": {
329+
"type": "array",
330+
"description": "If specified, list of image files to load at the given (optional) offset",
331+
"items": {
332+
"type": "object",
333+
"properties": {
334+
"file": {
335+
"type": "string",
336+
"description": "If specified, an image file to load at the given (optional) offset",
337+
"default": ""
338+
},
339+
"offset": {
340+
"type": "string",
341+
"description": "If image file is specified, the offset used to load (optional)",
342+
"default": ""
343+
}
344+
},
345+
"default": {}
346+
},
347+
"default": []
326348
}
327349
}
328350
},
@@ -545,25 +567,47 @@
545567
"type": "object",
546568
"default": {},
547569
"properties": {
548-
"symbolFileName": {
549-
"type": "string",
550-
"description": "If specified, a symbol file to load at the given (optional) offset",
551-
"default": ""
552-
},
553-
"symbolOffset": {
554-
"type": "string",
555-
"description": "If symbolFileName is specified, the offset used to load",
556-
"default": ""
557-
},
558-
"imageFileName": {
559-
"type": "string",
560-
"description": "If specified, an image file to load at the given (optional) offset",
561-
"default": ""
570+
"symbolFilesAndOffset": {
571+
"type": "array",
572+
"description": "If specified, list of symbol files to load at the given (optional) offset",
573+
"items": {
574+
"type": "object",
575+
"properties": {
576+
"file": {
577+
"type": "string",
578+
"description": "If specified, a symbol file to load at the given (optional) offset",
579+
"default": ""
580+
},
581+
"offset": {
582+
"type": "string",
583+
"description": "If symbol file is specified, the offset used to load (optional)",
584+
"default": ""
585+
}
586+
},
587+
"default": {}
588+
},
589+
"default": []
562590
},
563-
"imageOffset": {
564-
"type": "string",
565-
"description": "If imageFileName is specified, the offset used to load",
566-
"default": ""
591+
"imageFilesAndOffset": {
592+
"type": "array",
593+
"description": "If specified, list of image files to load at the given (optional) offset",
594+
"items": {
595+
"type": "object",
596+
"properties": {
597+
"file": {
598+
"type": "string",
599+
"description": "If specified, an image file to load at the given (optional) offset",
600+
"default": ""
601+
},
602+
"offset": {
603+
"type": "string",
604+
"description": "If image file is specified, the offset used to load (optional)",
605+
"default": ""
606+
}
607+
},
608+
"default": {}
609+
},
610+
"default": []
567611
}
568612
}
569613
},

0 commit comments

Comments
 (0)