Skip to content

Commit b3f2b09

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

File tree

1 file changed

+92
-8
lines changed

1 file changed

+92
-8
lines changed

package.json

Lines changed: 92 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -306,23 +306,65 @@
306306
"properties": {
307307
"symbolFileName": {
308308
"type": "string",
309-
"description": "If specified, a symbol file to load at the given (optional) offset",
309+
"description": "Deprecated, use symbolFilesAndOffset instead. If specified, a symbol file to load at the given (optional) offset",
310310
"default": ""
311311
},
312312
"symbolOffset": {
313313
"type": "string",
314-
"description": "If symbolFileName is specified, the offset used to load",
314+
"description": "Deprecated, use symbolFilesAndOffset instead. If symbolFileName is specified, the offset used to load",
315315
"default": ""
316316
},
317317
"imageFileName": {
318318
"type": "string",
319-
"description": "If specified, an image file to load at the given (optional) offset",
319+
"description": "Deprecated, use imageFilesAndOffset instead. If specified, an image file to load at the given (optional) offset",
320320
"default": ""
321321
},
322322
"imageOffset": {
323323
"type": "string",
324-
"description": "If imageFileName is specified, the offset used to load",
324+
"description": "Deprecated, use imageFilesAndOffset instead. If imageFileName is specified, the offset used to load",
325325
"default": ""
326+
},
327+
"symbolFilesAndOffset": {
328+
"type": "array",
329+
"description": "If specified, list of symbol files to load at the given (optional) offset",
330+
"items": {
331+
"type": "object",
332+
"properties": {
333+
"file": {
334+
"type": "string",
335+
"description": "If specified, a symbol file to load at the given (optional) offset",
336+
"default": ""
337+
},
338+
"offset": {
339+
"type": "string",
340+
"description": "If symbol file is specified, the offset used to load (optional)",
341+
"default": ""
342+
}
343+
},
344+
"default": {}
345+
},
346+
"default": []
347+
},
348+
"imageFilesAndOffset": {
349+
"type": "array",
350+
"description": "If specified, list of image files to load at the given (optional) offset",
351+
"items": {
352+
"type": "object",
353+
"properties": {
354+
"file": {
355+
"type": "string",
356+
"description": "If specified, an image file to load at the given (optional) offset",
357+
"default": ""
358+
},
359+
"offset": {
360+
"type": "string",
361+
"description": "If image file is specified, the offset used to load (optional)",
362+
"default": ""
363+
}
364+
},
365+
"default": {}
366+
},
367+
"default": []
326368
}
327369
}
328370
},
@@ -547,23 +589,65 @@
547589
"properties": {
548590
"symbolFileName": {
549591
"type": "string",
550-
"description": "If specified, a symbol file to load at the given (optional) offset",
592+
"description": "Deprecated, use symbolFilesAndOffset instead. If specified, a symbol file to load at the given (optional) offset",
551593
"default": ""
552594
},
553595
"symbolOffset": {
554596
"type": "string",
555-
"description": "If symbolFileName is specified, the offset used to load",
597+
"description": "Deprecated, use symbolFilesAndOffset instead. If symbolFileName is specified, the offset used to load",
556598
"default": ""
557599
},
558600
"imageFileName": {
559601
"type": "string",
560-
"description": "If specified, an image file to load at the given (optional) offset",
602+
"description": "Deprecated, use imageFilesAndOffset instead. If specified, an image file to load at the given (optional) offset",
561603
"default": ""
562604
},
563605
"imageOffset": {
564606
"type": "string",
565-
"description": "If imageFileName is specified, the offset used to load",
607+
"description": "Deprecated, use imageFilesAndOffset instead. If imageFileName is specified, the offset used to load",
566608
"default": ""
609+
},
610+
"symbolFilesAndOffset": {
611+
"type": "array",
612+
"description": "If specified, list of symbol files to load at the given (optional) offset",
613+
"items": {
614+
"type": "object",
615+
"properties": {
616+
"file": {
617+
"type": "string",
618+
"description": "If specified, a symbol file to load at the given (optional) offset",
619+
"default": ""
620+
},
621+
"offset": {
622+
"type": "string",
623+
"description": "If symbol file is specified, the offset used to load (optional)",
624+
"default": ""
625+
}
626+
},
627+
"default": {}
628+
},
629+
"default": []
630+
},
631+
"imageFilesAndOffset": {
632+
"type": "array",
633+
"description": "If specified, list of image files to load at the given (optional) offset",
634+
"items": {
635+
"type": "object",
636+
"properties": {
637+
"file": {
638+
"type": "string",
639+
"description": "If specified, an image file to load at the given (optional) offset",
640+
"default": ""
641+
},
642+
"offset": {
643+
"type": "string",
644+
"description": "If image file is specified, the offset used to load (optional)",
645+
"default": ""
646+
}
647+
},
648+
"default": {}
649+
},
650+
"default": []
567651
}
568652
}
569653
},

0 commit comments

Comments
 (0)