Skip to content

Commit e54c57d

Browse files
committed
Update test snapshots
1 parent f4c140c commit e54c57d

File tree

6 files changed

+40
-40
lines changed

6 files changed

+40
-40
lines changed

objdiff-core/tests/snapshots/arch_mips__read_mips-3.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ expression: output
1010
[(Address(20), Normal, 5), (Spacing(4), Normal, 0), (Opcode("jal", 2), Normal, 10), (Symbol(Symbol { name: "xglSleep", demangled_name: None, address: 0, size: 0, kind: Unknown, section: None, flags: FlagSet(Global), align: None, virtual_address: None }), Bright, 0), (Eol, Normal, 0)]
1111
[(Address(24), Normal, 5), (Spacing(4), Normal, 0), (Opcode("nop", 113), Normal, 10), (Eol, Normal, 0)]
1212
[(Address(28), Normal, 5), (Spacing(4), Normal, 0), (Opcode("lw", 26), Normal, 10), (Argument(Opaque("$a1")), Normal, 0), (Basic(", "), Normal, 0), (Basic("%gp_rel("), Normal, 0), (Symbol(Symbol { name: "WorkEnd", demangled_name: None, address: 64, size: 4, kind: Object, section: Some(8), flags: FlagSet(Global), align: None, virtual_address: None }), Bright, 0), (Basic(")"), Normal, 0), (Basic("("), Normal, 0), (Argument(Opaque("$gp")), Normal, 0), (Basic(")"), Normal, 0), (Eol, Normal, 0)]
13-
[(Address(32), Normal, 5), (Spacing(4), Normal, 0), (Opcode("lui", 20), Normal, 10), (Argument(Opaque("$a0")), Normal, 0), (Basic(", "), Normal, 0), (Basic("%hi("), Normal, 0), (Symbol(Symbol { name: "[.sdata]", demangled_name: None, address: 0, size: 64, kind: Section, section: Some(8), flags: FlagSet(Local), align: None, virtual_address: None }), Bright, 0), (Basic(")"), Normal, 0), (Eol, Normal, 0)]
13+
[(Address(32), Normal, 5), (Spacing(4), Normal, 0), (Opcode("lui", 20), Normal, 10), (Argument(Opaque("$a0")), Normal, 0), (Basic(", "), Normal, 0), (Basic("%hi("), Normal, 0), (Symbol(Symbol { name: "[.sdata]", demangled_name: None, address: 0, size: 76, kind: Section, section: Some(8), flags: FlagSet(Local), align: None, virtual_address: None }), Bright, 0), (Basic(")"), Normal, 0), (Eol, Normal, 0)]
1414
[(Address(36), Normal, 5), (Spacing(4), Normal, 0), (Opcode("daddu", 97), Normal, 10), (Argument(Opaque("$a2")), Normal, 0), (Basic(", "), Normal, 0), (Argument(Opaque("$zero")), Normal, 0), (Basic(", "), Normal, 0), (Argument(Opaque("$zero")), Normal, 0), (Eol, Normal, 0)]
1515
[(Address(40), Normal, 5), (Spacing(4), Normal, 0), (Opcode("jal", 2), Normal, 10), (Symbol(Symbol { name: "xglSoundLoadEffect", demangled_name: None, address: 0, size: 0, kind: Unknown, section: None, flags: FlagSet(Global), align: None, virtual_address: None }), Bright, 0), (Eol, Normal, 0)]
16-
[(Address(44), Normal, 5), (Spacing(4), Normal, 0), (Opcode("addiu", 12), Normal, 10), (Argument(Opaque("$a0")), Normal, 0), (Basic(", "), Normal, 0), (Argument(Opaque("$a0")), Normal, 0), (Basic(", "), Normal, 0), (Basic("%lo("), Normal, 0), (Symbol(Symbol { name: "[.sdata]", demangled_name: None, address: 0, size: 64, kind: Section, section: Some(8), flags: FlagSet(Local), align: None, virtual_address: None }), Bright, 0), (Basic(")"), Normal, 0), (Eol, Normal, 0)]
16+
[(Address(44), Normal, 5), (Spacing(4), Normal, 0), (Opcode("addiu", 12), Normal, 10), (Argument(Opaque("$a0")), Normal, 0), (Basic(", "), Normal, 0), (Argument(Opaque("$a0")), Normal, 0), (Basic(", "), Normal, 0), (Basic("%lo("), Normal, 0), (Symbol(Symbol { name: "[.sdata]", demangled_name: None, address: 0, size: 76, kind: Section, section: Some(8), flags: FlagSet(Local), align: None, virtual_address: None }), Bright, 0), (Basic(")"), Normal, 0), (Eol, Normal, 0)]
1717
[(Address(48), Normal, 5), (Spacing(4), Normal, 0), (Opcode("lui", 20), Normal, 10), (Argument(Opaque("$a0")), Normal, 0), (Basic(", "), Normal, 0), (Basic("%hi("), Normal, 0), (Symbol(Symbol { name: "PacketBottomNewVu1DropMicroCode", demangled_name: None, address: 0, size: 12, kind: Object, section: Some(7), flags: FlagSet(Global), align: None, virtual_address: None }), Bright, 0), (Basic(")"), Normal, 0), (Eol, Normal, 0)]
1818
[(Address(52), Normal, 5), (Spacing(4), Normal, 0), (Opcode("lw", 26), Normal, 10), (Argument(Opaque("$a1")), Normal, 0), (Basic(", "), Normal, 0), (Basic("%gp_rel("), Normal, 0), (Symbol(Symbol { name: "WorkEnd", demangled_name: None, address: 64, size: 4, kind: Object, section: Some(8), flags: FlagSet(Global), align: None, virtual_address: None }), Bright, 0), (Basic(")"), Normal, 0), (Basic("("), Normal, 0), (Argument(Opaque("$gp")), Normal, 0), (Basic(")"), Normal, 0), (Eol, Normal, 0)]
1919
[(Address(56), Normal, 5), (Spacing(4), Normal, 0), (Opcode("jal", 2), Normal, 10), (Symbol(Symbol { name: "xglSoundLoadSwd", demangled_name: None, address: 0, size: 0, kind: Unknown, section: None, flags: FlagSet(Global), align: None, virtual_address: None }), Bright, 0), (Eol, Normal, 0)]

objdiff-core/tests/snapshots/arch_mips__read_mips.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ Object {
110110
name: "[.sdata]",
111111
demangled_name: None,
112112
address: 0,
113-
size: 64,
113+
size: 76,
114114
kind: Section,
115115
section: Some(
116116
8,
@@ -123,7 +123,7 @@ Object {
123123
name: "[.rodata]",
124124
demangled_name: None,
125125
address: 0,
126-
size: 0,
126+
size: 12,
127127
kind: Section,
128128
section: Some(
129129
7,

objdiff-core/tests/snapshots/arch_ppc__read_extab.snap

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ Object {
154154
name: "[extab]",
155155
demangled_name: None,
156156
address: 0,
157-
size: 0,
157+
size: 40,
158158
kind: Section,
159159
section: Some(
160160
1,
@@ -167,7 +167,7 @@ Object {
167167
name: "[extabindex]",
168168
demangled_name: None,
169169
address: 0,
170-
size: 0,
170+
size: 36,
171171
kind: Section,
172172
section: Some(
173173
2,

objdiff-core/tests/snapshots/arch_ppc__read_vmx128_coff.snap

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Object {
5252
name: "[.XBLD$W]",
5353
demangled_name: None,
5454
address: 0,
55-
size: 0,
55+
size: 16,
5656
kind: Section,
5757
section: Some(
5858
2,
@@ -104,7 +104,7 @@ Object {
104104
name: "[.rdata]",
105105
demangled_name: None,
106106
address: 0,
107-
size: 0,
107+
size: 356,
108108
kind: Section,
109109
section: Some(
110110
4,
@@ -429,7 +429,7 @@ Object {
429429
name: "[.pdata]",
430430
demangled_name: None,
431431
address: 0,
432-
size: 0,
432+
size: 40,
433433
kind: Section,
434434
section: Some(
435435
6,
@@ -494,7 +494,7 @@ Object {
494494
name: "[.rdata]",
495495
demangled_name: None,
496496
address: 0,
497-
size: 0,
497+
size: 4,
498498
kind: Unknown,
499499
section: None,
500500
flags: FlagSet(Local),
@@ -518,7 +518,7 @@ Object {
518518
name: "[.rdata]",
519519
demangled_name: None,
520520
address: 0,
521-
size: 0,
521+
size: 4,
522522
kind: Unknown,
523523
section: None,
524524
flags: FlagSet(Local),
@@ -542,7 +542,7 @@ Object {
542542
name: "[.rdata]",
543543
demangled_name: None,
544544
address: 0,
545-
size: 0,
545+
size: 4,
546546
kind: Unknown,
547547
section: None,
548548
flags: FlagSet(Local),
@@ -566,7 +566,7 @@ Object {
566566
name: "[.rdata]",
567567
demangled_name: None,
568568
address: 0,
569-
size: 0,
569+
size: 4,
570570
kind: Unknown,
571571
section: None,
572572
flags: FlagSet(Local),
@@ -590,7 +590,7 @@ Object {
590590
name: "[.rdata]",
591591
demangled_name: None,
592592
address: 0,
593-
size: 0,
593+
size: 4,
594594
kind: Unknown,
595595
section: None,
596596
flags: FlagSet(Local),
@@ -614,7 +614,7 @@ Object {
614614
name: "[.rdata]",
615615
demangled_name: None,
616616
address: 0,
617-
size: 0,
617+
size: 4,
618618
kind: Unknown,
619619
section: None,
620620
flags: FlagSet(Local),
@@ -638,7 +638,7 @@ Object {
638638
name: "[.rdata]",
639639
demangled_name: None,
640640
address: 0,
641-
size: 0,
641+
size: 4,
642642
kind: Unknown,
643643
section: None,
644644
flags: FlagSet(Local),
@@ -662,7 +662,7 @@ Object {
662662
name: "[.rdata]",
663663
demangled_name: None,
664664
address: 0,
665-
size: 0,
665+
size: 4,
666666
kind: Unknown,
667667
section: None,
668668
flags: FlagSet(Local),
@@ -686,7 +686,7 @@ Object {
686686
name: "[.rdata]",
687687
demangled_name: None,
688688
address: 0,
689-
size: 0,
689+
size: 4,
690690
kind: Unknown,
691691
section: None,
692692
flags: FlagSet(Local),
@@ -790,7 +790,7 @@ Object {
790790
name: "[.rdata]",
791791
demangled_name: None,
792792
address: 0,
793-
size: 0,
793+
size: 4,
794794
kind: Unknown,
795795
section: None,
796796
flags: FlagSet(Local),
@@ -814,7 +814,7 @@ Object {
814814
name: "[.rdata]",
815815
demangled_name: None,
816816
address: 0,
817-
size: 0,
817+
size: 4,
818818
kind: Unknown,
819819
section: None,
820820
flags: FlagSet(Local),
@@ -838,7 +838,7 @@ Object {
838838
name: "[.rdata]",
839839
demangled_name: None,
840840
address: 0,
841-
size: 0,
841+
size: 4,
842842
kind: Unknown,
843843
section: None,
844844
flags: FlagSet(Local),
@@ -862,7 +862,7 @@ Object {
862862
name: "[.rdata]",
863863
demangled_name: None,
864864
address: 0,
865-
size: 0,
865+
size: 4,
866866
kind: Unknown,
867867
section: None,
868868
flags: FlagSet(Local),
@@ -886,7 +886,7 @@ Object {
886886
name: "[.rdata]",
887887
demangled_name: None,
888888
address: 0,
889-
size: 0,
889+
size: 4,
890890
kind: Unknown,
891891
section: None,
892892
flags: FlagSet(Local),
@@ -910,7 +910,7 @@ Object {
910910
name: "[.rdata]",
911911
demangled_name: None,
912912
address: 0,
913-
size: 0,
913+
size: 4,
914914
kind: Unknown,
915915
section: None,
916916
flags: FlagSet(Local),

objdiff-core/tests/snapshots/arch_x86__read_x86.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Object {
4848
name: "[.data]",
4949
demangled_name: None,
5050
address: 0,
51-
size: 0,
51+
size: 10,
5252
kind: Section,
5353
section: Some(
5454
1,

objdiff-core/tests/snapshots/arch_x86__read_x86_64.snap

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Object {
345345
name: "[.xdata]",
346346
demangled_name: None,
347347
address: 0,
348-
size: 0,
348+
size: 8,
349349
kind: Section,
350350
section: Some(
351351
7,
@@ -371,7 +371,7 @@ Object {
371371
name: "[.pdata]",
372372
demangled_name: None,
373373
address: 0,
374-
size: 0,
374+
size: 12,
375375
kind: Section,
376376
section: Some(
377377
8,
@@ -397,7 +397,7 @@ Object {
397397
name: "[.xdata]",
398398
demangled_name: None,
399399
address: 0,
400-
size: 0,
400+
size: 8,
401401
kind: Section,
402402
section: Some(
403403
9,
@@ -423,7 +423,7 @@ Object {
423423
name: "[.pdata]",
424424
demangled_name: None,
425425
address: 0,
426-
size: 0,
426+
size: 12,
427427
kind: Section,
428428
section: Some(
429429
10,
@@ -449,7 +449,7 @@ Object {
449449
name: "[.xdata]",
450450
demangled_name: None,
451451
address: 0,
452-
size: 0,
452+
size: 8,
453453
kind: Section,
454454
section: Some(
455455
11,
@@ -475,7 +475,7 @@ Object {
475475
name: "[.pdata]",
476476
demangled_name: None,
477477
address: 0,
478-
size: 0,
478+
size: 12,
479479
kind: Section,
480480
section: Some(
481481
12,
@@ -501,7 +501,7 @@ Object {
501501
name: "[.xdata]",
502502
demangled_name: None,
503503
address: 0,
504-
size: 0,
504+
size: 8,
505505
kind: Section,
506506
section: Some(
507507
13,
@@ -527,7 +527,7 @@ Object {
527527
name: "[.pdata]",
528528
demangled_name: None,
529529
address: 0,
530-
size: 0,
530+
size: 12,
531531
kind: Section,
532532
section: Some(
533533
14,
@@ -553,7 +553,7 @@ Object {
553553
name: "[.rdata]",
554554
demangled_name: None,
555555
address: 0,
556-
size: 0,
556+
size: 256,
557557
kind: Section,
558558
section: Some(
559559
15,
@@ -641,7 +641,7 @@ Object {
641641
name: "[.xdata]",
642642
demangled_name: None,
643643
address: 0,
644-
size: 0,
644+
size: 20,
645645
kind: Section,
646646
section: Some(
647647
16,
@@ -667,7 +667,7 @@ Object {
667667
name: "[.pdata]",
668668
demangled_name: None,
669669
address: 0,
670-
size: 0,
670+
size: 12,
671671
kind: Section,
672672
section: Some(
673673
17,
@@ -719,7 +719,7 @@ Object {
719719
name: "[.rtc$IMZ]",
720720
demangled_name: None,
721721
address: 0,
722-
size: 0,
722+
size: 8,
723723
kind: Section,
724724
section: Some(
725725
19,
@@ -745,7 +745,7 @@ Object {
745745
name: "[.rtc$TMZ]",
746746
demangled_name: None,
747747
address: 0,
748-
size: 0,
748+
size: 8,
749749
kind: Section,
750750
section: Some(
751751
20,
@@ -771,7 +771,7 @@ Object {
771771
name: "[.rdata]",
772772
demangled_name: None,
773773
address: 0,
774-
size: 0,
774+
size: 4,
775775
kind: Section,
776776
section: Some(
777777
21,
@@ -797,7 +797,7 @@ Object {
797797
name: "[.rdata]",
798798
demangled_name: None,
799799
address: 0,
800-
size: 0,
800+
size: 4,
801801
kind: Section,
802802
section: Some(
803803
22,

0 commit comments

Comments
 (0)