Skip to content

Commit

Permalink
V850: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imbillow committed Feb 1, 2024
1 parent 40c1df7 commit de858bd
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions test/db/analysis/v850
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ aap
afl
EOF
EXPECT=<<EOF
0x00100018 1 8 fcn.00100018
0x00100018 2 84 fcn.00100018
0x0010006c 1 36 sym._compute
0x00100090 1 64 main
0x001000d0 4 74 sym.___main
Expand Down Expand Up @@ -153,7 +153,7 @@ EXPECT=<<EOF
0x001146f6 2 26 fcn.001146f6
0x00114710 1 14 fcn.00114710
0x00104ec0 2 1046 -> 30 fcn.00104ec0
0x00104ec4 112 67332 -> 1552 sym.___udivdi3
0x00104ec4 112 67332 -> 1556 sym.___udivdi3
0x001052d8 4 74 sym.___main
0x00105322 3 34 sym._exit
0x00105344 19 190 sym.__fclose_r
Expand Down Expand Up @@ -182,16 +182,16 @@ EXPECT=<<EOF
0x00105ca4 36 668 sym.__free_r
0x00105f40 1 12 sym.__fseek_r
0x00105f4c 1 24 sym._fseek
0x00105f64 63 65732 -> 810 sym.__fseeko_r
0x00105f64 63 65750 -> 834 sym.__fseeko_r
0x00106274 4 74 sym._fseeko
0x001062be 22 216 sym.__ftello_r
0x00106396 7 72 sym.__fwalk
0x0010642a 8 144 sym.__fwrite_r
0x001064ba 1 40 sym._fwrite
0x001064e2 6 122 sym.___swhatbuf_r
0x0010655c 129 67148 -> 2658 sym.___smakebuf_r
0x0010655c 129 67148 -> 2944 sym.___smakebuf_r
0x00106db4 4 50 fcn.00106db4
0x00106de6 25 65590 -> 372 sym.__perror_r
0x00106de6 25 65660 -> 454 sym.__perror_r
0x00106f4e 1 12 fcn.00106f4e
0x00106f5a 1 52 sym.__printf_r
0x00106f8e 1 16 sym.__putchar_r
Expand Down Expand Up @@ -259,18 +259,18 @@ EXPECT=<<EOF
0x0010f67c 8 108 sym.__putc_r
0x0010f6e8 4 74 sym._putc
0x0010f732 63 1322 -> 1286 sym.__realloc_r
0x0010fc5c 22 274 sym.__sbrk
0x0010fc5c 21 274 sym.__sbrk
0x0010fde4 257 5378 -> 4994 sym._sulp
0x001112e6 1 18 sym.__strtod_r
0x001112f8 1 24 sym._strtod_l
0x00111310 1 28 sym._strtod
0x0011132c 9 222 sym._strtof_l
0x0011140a 9 226 sym._strtof
0x001114ec 43 376 sym.__strtol_l.isra___0
0x0011132c 10 222 sym._strtof_l
0x0011140a 10 226 sym._strtof
0x001114ec 43 376 -> 380 sym.__strtol_l.isra___0
0x00111664 1 12 sym.__strtol_r
0x00111670 1 24 sym._strtol_l
0x00111688 1 24 sym._strtol
0x001116a0 38 350 sym.__strtoul_l.isra___0
0x001116a0 38 350 -> 354 sym.__strtoul_l.isra___0
0x001117fe 1 12 sym.__strtoul_r
0x0011180a 1 24 sym._strtoul_l
0x00111822 18 428 sym._strtoul
Expand Down Expand Up @@ -315,8 +315,8 @@ EXPECT=<<EOF
0x001000ee 1 32 sym._hexdump
0x001002d2 1 48 sym._print_fmt
0x00100a84 19 608 sym._str2ut64
0x00100ce4 8 228 -> 168 sym._hex2byte
0x00100dc8 13 236 sym._hexstr2raw
0x00100ce4 6 228 -> 168 sym._hex2byte
0x00100dc8 12 236 sym._hexstr2raw
0x00100eb4 9 280 sym._getcurblk
0x00100fcc 4 272 sym._Nset
0x001010dc 1 120 sym._Nsetf
Expand Down Expand Up @@ -356,7 +356,7 @@ EXPECT=<<EOF
0x001045d4 16 768 -> 764 sym._red_prompt
0x001048ea 18 454 sym._red_open
0x00104ab0 1 44 sym._red_help
0x00114428 3 1350 -> 34 fcn.00114428
0x00114428 1 20 fcn.00114428
0x00104adc 3 150 main
EOF
RUN
Expand All @@ -378,8 +378,7 @@ r13 = 8
r13 = 0
r9 = r2
r17 = r13 | 904
r9 = r0
sp = ~gp
lp = 0
r11 = (34120 << XX) + r26
r6 = r18 | 0
r9 = r16
Expand All @@ -389,16 +388,15 @@ r9 = r16
r22 = tp | 0
gp == -1
r17 = r8 & 0
r0 = ~r2
r25 = (byte) *(tp + 8805)
r9 = r0
gp == 5
r9 = ~lp
r9 = r8
r24 += r7
lp = (unsigned half) *(lp - 1)
r6 *= lp
r0 -= ep
r0 = r1
r11 += -8
sp = (byte) *(r15 + 64)
gp = 0
EOF
RUN

Expand Down

0 comments on commit de858bd

Please sign in to comment.