1All Dependency Files: 2program_file: bytecodehar1-abcinput.abc 3record_name: &bytecodehar1/bytecodehar1-file1&2.0.0 4program_file: bytecodehar2-abcinput.abc 5record_name: &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0 6program_file: hap-file-exec.ts 7record_name: &myapp/hap-file-exec& 8program_file: sourcehar-file1.ts 9record_name: &sourcehar/sourcehar-file1&2.0.0 10 11slotNum = 0x6 12expectedProperty = 0x3 13.language ECMAScript 14.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#*#A(any a0, any a1, any a2, any a3) { 15 lda a3 16 stobjbyname 0x0, a, a2 17 ldai 0x1 18 stobjbyname 0x2, b, a2 19 ldai 0x2 20 stobjbyname 0x4, c, a2 21 returnundefined 22} 23 24slotNum = 0x3 25.language ECMAScript 26.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test(any a0, any a1, any a2) { 27 tryldglobalbyname 0x0, print 28 sta v0 29 lda.str bytecodehar1.file1.test 30 sta v1 31 lda v0 32 callarg1 0x1, v1 33 lda.str @normalized:N&&&sourcehar/sourcehar-file1&2.0.0 34 dynamicimport 35 returnundefined 36} 37 38slotNum = 0x2 39.language ECMAScript 40.function any &bytecodehar1/bytecodehar1-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 41 definefunc 0x0, &bytecodehar1/bytecodehar1-file1&2.0.0.#*#A, 0x1 42 definefunc 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test, 0x0 43 stmodulevar 0x0 44 returnundefined 45} 46 47 48======> literal array buffer <====== 49------------------------------------ 50slot &bytecodehar1/bytecodehar1-file1&2.0.0_1688 51------------------------------------ 52slot &bytecodehar1/bytecodehar1-file1&2.0.0_1692 53{ 54 index: 0 55 tag: 2 56 val: 1 57}, 58{ 59 index: 1 60 tag: 5 61 val: @normalized:N&&&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0 62}, 63{ 64 index: 2 65 tag: 2 66 val: 1 67}, 68{ 69 index: 3 70 tag: 5 71 val: test1 72}, 73{ 74 index: 4 75 tag: 5 76 val: test 77}, 78{ 79 index: 5 80 tag: 9 81 val: 0 82}, 83{ 84 index: 6 85 tag: 2 86 val: 0 87}, 88{ 89 index: 7 90 tag: 2 91 val: 1 92}, 93{ 94 index: 8 95 tag: 5 96 val: test 97}, 98{ 99 index: 9 100 tag: 5 101 val: test 102}, 103{ 104 index: 10 105 tag: 2 106 val: 0 107}, 108{ 109 index: 11 110 tag: 2 111 val: 0 112}, 113======> strings <====== 114"&bytecodehar1/bytecodehar1-file1&2.0.0.#*#A"; "&bytecodehar1/bytecodehar1-file1&2.0.0.#*#test"; "@normalized:N&&&sourcehar/sourcehar-file1&2.0.0"; "a"; "b"; "bytecodehar1.file1.test"; "c"; "print"; 115slotNum = 0x3 116.language ECMAScript 117.function any &bytecodehar1/bytecodehar1-file2&2.0.0.#*#test(any a0, any a1, any a2) { 118 tryldglobalbyname 0x0, print 119 sta v0 120 lda.str bytecodehar1.file2.test 121 sta v1 122 lda v0 123 callarg1 0x1, v1 124 lda.str @normalized:N&&&sourcehar/sourcehar-file2&2.0.0 125 dynamicimport 126 returnundefined 127} 128 129slotNum = 0x2 130expectedProperty = 0x1 131.language ECMAScript 132.function any &bytecodehar1/bytecodehar1-file2&2.0.0.#~@0=#Example(any a0, any a1, any a2) { 133 ldai 0x0 134 stobjbyname 0x0, a, a2 135 lda a2 136 return 137} 138 139slotNum = 0x2 140.language ECMAScript 141.function any &bytecodehar1/bytecodehar1-file2&2.0.0.#~@0>#setValue(any a0, any a1, any a2, any a3) { 142 lda a3 143 stobjbyname 0x0, a, a2 144 returnundefined 145} 146 147slotNum = 0x4 148.language ECMAScript 149.function any &bytecodehar1/bytecodehar1-file2&2.0.0.func_main_0(any a0, any a1, any a2) { 150 definefunc 0x0, &bytecodehar1/bytecodehar1-file2&2.0.0.#*#test, 0x0 151 stmodulevar 0x0 152 ldhole 153 sta v0 154 defineclasswithbuffer 0x1, &bytecodehar1/bytecodehar1-file2&2.0.0.#~@0=#Example, &bytecodehar1/bytecodehar1-file2&2.0.0_1801, 0x0, v0 155 ldobjbyname 0x2, prototype 156 returnundefined 157} 158 159 160======> literal array buffer <====== 161------------------------------------ 162slot &bytecodehar1/bytecodehar1-file2&2.0.0_1742 163{ 164 index: 0 165 tag: 0 166 val: 5 167}, 168{ 169 index: 1 170 tag: 5 171 val: Example 172}, 173------------------------------------ 174slot &bytecodehar1/bytecodehar1-file2&2.0.0_1751 175{ 176 index: 0 177 tag: 2 178 val: 1 179}, 180{ 181 index: 1 182 tag: 5 183 val: @normalized:N&&&@ohos/bytecodehar2/bytecodehar2-file2&2.0.0 184}, 185{ 186 index: 2 187 tag: 2 188 val: 1 189}, 190{ 191 index: 3 192 tag: 5 193 val: test1 194}, 195{ 196 index: 4 197 tag: 5 198 val: test 199}, 200{ 201 index: 5 202 tag: 9 203 val: 0 204}, 205{ 206 index: 6 207 tag: 2 208 val: 0 209}, 210{ 211 index: 7 212 tag: 2 213 val: 1 214}, 215{ 216 index: 8 217 tag: 5 218 val: test 219}, 220{ 221 index: 9 222 tag: 5 223 val: test 224}, 225{ 226 index: 10 227 tag: 2 228 val: 0 229}, 230{ 231 index: 11 232 tag: 2 233 val: 0 234}, 235------------------------------------ 236slot &bytecodehar1/bytecodehar1-file2&2.0.0_1801 237{ 238 index: 0 239 tag: 0 240 val: 5 241}, 242{ 243 index: 1 244 tag: 5 245 val: setValue 246}, 247{ 248 index: 2 249 tag: 0 250 val: 6 251}, 252{ 253 index: 3 254 tag: 6 255 val: &bytecodehar1/bytecodehar1-file2&2.0.0.#~@0>#setValue 256}, 257{ 258 index: 4 259 tag: 0 260 val: 9 261}, 262{ 263 index: 5 264 tag: 9 265 val: 1 266}, 267{ 268 index: 6 269 tag: 0 270 val: 2 271}, 272{ 273 index: 7 274 tag: 2 275 val: 1 276}, 277======> strings <====== 278"&bytecodehar1/bytecodehar1-file2&2.0.0.#*#test"; "&bytecodehar1/bytecodehar1-file2&2.0.0.#~@0=#Example"; "@normalized:N&&&sourcehar/sourcehar-file2&2.0.0"; "a"; "bytecodehar1.file2.test"; "print"; "prototype"; 279 280======> literal array buffer <====== 281======> strings <====== 282 283 284======> literal array buffer <====== 285======> strings <====== 286 287 288======> literal array buffer <====== 289======> strings <====== 290 291slotNum = 0x3 292.language ECMAScript 293.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test(any a0, any a1, any a2) { 294 tryldglobalbyname 0x0, print 295 sta v0 296 lda.str bytecodehar2.file1.test 297 sta v1 298 lda v0 299 callarg1 0x1, v1 300 returnundefined 301} 302 303slotNum = 0x1 304.language ECMAScript 305.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 306 definefunc 0x0, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test, 0x0 307 stmodulevar 0x0 308 returnundefined 309} 310 311 312======> literal array buffer <====== 313------------------------------------ 314slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1167 315------------------------------------ 316slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1171 317{ 318 index: 0 319 tag: 2 320 val: 0 321}, 322{ 323 index: 1 324 tag: 2 325 val: 0 326}, 327{ 328 index: 2 329 tag: 2 330 val: 0 331}, 332{ 333 index: 3 334 tag: 2 335 val: 1 336}, 337{ 338 index: 4 339 tag: 5 340 val: test 341}, 342{ 343 index: 5 344 tag: 5 345 val: test 346}, 347{ 348 index: 6 349 tag: 2 350 val: 0 351}, 352{ 353 index: 7 354 tag: 2 355 val: 0 356}, 357======> strings <====== 358"&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test"; "bytecodehar2.file1.test"; "print"; 359slotNum = 0x3 360.language ECMAScript 361.function any &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#*#test(any a0, any a1, any a2) { 362 tryldglobalbyname 0x0, print 363 sta v0 364 lda.str bytecodehar2.file2.test 365 sta v1 366 lda v0 367 callarg1 0x1, v1 368 returnundefined 369} 370 371slotNum = 0x1 372.language ECMAScript 373.function any &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.func_main_0(any a0, any a1, any a2) { 374 definefunc 0x0, &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#*#test, 0x0 375 stmodulevar 0x0 376 returnundefined 377} 378 379 380======> literal array buffer <====== 381------------------------------------ 382slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1207 383------------------------------------ 384slot &@ohos/bytecodehar2/bytecodehar2-file2&2.0.0_1211 385{ 386 index: 0 387 tag: 2 388 val: 0 389}, 390{ 391 index: 1 392 tag: 2 393 val: 0 394}, 395{ 396 index: 2 397 tag: 2 398 val: 0 399}, 400{ 401 index: 3 402 tag: 2 403 val: 1 404}, 405{ 406 index: 4 407 tag: 5 408 val: test 409}, 410{ 411 index: 5 412 tag: 5 413 val: test 414}, 415{ 416 index: 6 417 tag: 2 418 val: 0 419}, 420{ 421 index: 7 422 tag: 2 423 val: 0 424}, 425======> strings <====== 426"&@ohos/bytecodehar2/bytecodehar2-file2&2.0.0.#*#test"; "bytecodehar2.file2.test"; "print"; 427 428======> literal array buffer <====== 429======> strings <====== 430 431 432======> literal array buffer <====== 433======> strings <====== 434 435 436======> literal array buffer <====== 437======> strings <====== 438 439slotNum = 0x2 440.language ECMAScript 441.function any &myapp/hap-file-exec&.#*#main(any a0, any a1, any a2) { 442label_1: 443label_0: 444 ldexternalmodulevar 0x0 445 sta v0 446 throw.undefinedifholewithname test 447 lda v0 448 callarg0 0x0 449 returnundefined 450label_2: 451} 452 453slotNum = 0x1 454.language ECMAScript 455.function any &myapp/hap-file-exec&.func_main_0(any a0, any a1, any a2) { 456label_1: 457label_0: 458 definefunc 0x0, &myapp/hap-file-exec&.#*#main, 0x0 459 returnundefined 460label_2: 461} 462 463 464======> literal array buffer <====== 465------------------------------------ 466slot &myapp/hap-file-exec&_0 467------------------------------------ 468slot &myapp/hap-file-exec&_1 469{ 470 index: 0 471 tag: 2 472 val: 1 473}, 474{ 475 index: 1 476 tag: 5 477 val: @normalized:N&&&bytecodehar1/bytecodehar1-file1&2.0.0 478}, 479{ 480 index: 2 481 tag: 2 482 val: 1 483}, 484{ 485 index: 3 486 tag: 5 487 val: test 488}, 489{ 490 index: 4 491 tag: 5 492 val: test 493}, 494{ 495 index: 5 496 tag: 9 497 val: 0 498}, 499{ 500 index: 6 501 tag: 2 502 val: 0 503}, 504{ 505 index: 7 506 tag: 2 507 val: 0 508}, 509{ 510 index: 8 511 tag: 2 512 val: 0 513}, 514{ 515 index: 9 516 tag: 2 517 val: 0 518}, 519======> strings <====== 520"&myapp/hap-file-exec&.#*#main"; "test"; 521slotNum = 0x3 522.language ECMAScript 523.function any &sourcehar/sourcehar-file1&2.0.0.#*#test(any a0, any a1, any a2) { 524label_1: 525label_0: 526 tryldglobalbyname 0x0, print 527 sta v0 528 lda.str sourcehar.file1.test 529 sta v1 530 lda v0 531 callarg1 0x1, v1 532 returnundefined 533label_2: 534} 535 536slotNum = 0x1 537.language ECMAScript 538.function any &sourcehar/sourcehar-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 539label_1: 540label_0: 541 definefunc 0x0, &sourcehar/sourcehar-file1&2.0.0.#*#test, 0x0 542 stmodulevar 0x0 543 returnundefined 544label_2: 545} 546 547 548======> literal array buffer <====== 549------------------------------------ 550slot &sourcehar/sourcehar-file1&2.0.0_0 551------------------------------------ 552slot &sourcehar/sourcehar-file1&2.0.0_1 553{ 554 index: 0 555 tag: 2 556 val: 0 557}, 558{ 559 index: 1 560 tag: 2 561 val: 0 562}, 563{ 564 index: 2 565 tag: 2 566 val: 0 567}, 568{ 569 index: 3 570 tag: 2 571 val: 1 572}, 573{ 574 index: 4 575 tag: 5 576 val: test 577}, 578{ 579 index: 5 580 tag: 5 581 val: test 582}, 583{ 584 index: 6 585 tag: 2 586 val: 0 587}, 588{ 589 index: 7 590 tag: 2 591 val: 0 592}, 593======> strings <====== 594"&sourcehar/sourcehar-file1&2.0.0.#*#test"; "print"; "sourcehar.file1.test"; 595slotNum = 0x3 596.language ECMAScript 597.function any &sourcehar/sourcehar-file2&2.0.0.#*#test(any a0, any a1, any a2) { 598label_1: 599label_0: 600 tryldglobalbyname 0x0, print 601 sta v0 602 lda.str sourcehar.file2.test 603 sta v1 604 lda v0 605 callarg1 0x1, v1 606 returnundefined 607label_2: 608} 609 610slotNum = 0x1 611.language ECMAScript 612.function any &sourcehar/sourcehar-file2&2.0.0.func_main_0(any a0, any a1, any a2) { 613label_1: 614label_0: 615 definefunc 0x0, &sourcehar/sourcehar-file2&2.0.0.#*#test, 0x0 616 stmodulevar 0x0 617 returnundefined 618label_2: 619} 620 621 622======> literal array buffer <====== 623------------------------------------ 624slot &sourcehar/sourcehar-file2&2.0.0_0 625------------------------------------ 626slot &sourcehar/sourcehar-file2&2.0.0_1 627{ 628 index: 0 629 tag: 2 630 val: 0 631}, 632{ 633 index: 1 634 tag: 2 635 val: 0 636}, 637{ 638 index: 2 639 tag: 2 640 val: 0 641}, 642{ 643 index: 3 644 tag: 2 645 val: 1 646}, 647{ 648 index: 4 649 tag: 5 650 val: test 651}, 652{ 653 index: 5 654 tag: 5 655 val: test 656}, 657{ 658 index: 6 659 tag: 2 660 val: 0 661}, 662{ 663 index: 7 664 tag: 2 665 val: 0 666}, 667======> strings <====== 668"&sourcehar/sourcehar-file2&2.0.0.#*#test"; "print"; "sourcehar.file2.test"; 669slotNum = 0x6 670expectedProperty = 0x3 671.language ECMAScript 672.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#*#A(any a0, any a1, any a2, any a3) { 673 lda a3 674 stobjbyname 0x0, a, a2 675 ldai 0x1 676 stobjbyname 0x2, b, a2 677 ldai 0x2 678 stobjbyname 0x4, c, a2 679 returnundefined 680} 681 682slotNum = 0x3 683.language ECMAScript 684.function any &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test(any a0, any a1, any a2) { 685 tryldglobalbyname 0x0, print 686 sta v0 687 lda.str bytecodehar1.file1.test 688 sta v1 689 lda v0 690 callarg1 0x1, v1 691 lda.str @normalized:N&&&sourcehar/sourcehar-file1&2.0.0 692 dynamicimport 693 returnundefined 694} 695 696slotNum = 0x2 697.language ECMAScript 698.function any &bytecodehar1/bytecodehar1-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 699 definefunc 0x0, &bytecodehar1/bytecodehar1-file1&2.0.0.#*#A, 0x1 700 definefunc 0x1, &bytecodehar1/bytecodehar1-file1&2.0.0.#*#test, 0x0 701 stmodulevar 0x0 702 returnundefined 703} 704 705 706======> literal array buffer <====== 707------------------------------------ 708slot &bytecodehar1/bytecodehar1-file1&2.0.0_1688 709------------------------------------ 710slot &bytecodehar1/bytecodehar1-file1&2.0.0_1692 711{ 712 index: 0 713 tag: 2 714 val: 1 715}, 716{ 717 index: 1 718 tag: 5 719 val: @normalized:N&&&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0 720}, 721{ 722 index: 2 723 tag: 2 724 val: 1 725}, 726{ 727 index: 3 728 tag: 5 729 val: test1 730}, 731{ 732 index: 4 733 tag: 5 734 val: test 735}, 736{ 737 index: 5 738 tag: 9 739 val: 0 740}, 741{ 742 index: 6 743 tag: 2 744 val: 0 745}, 746{ 747 index: 7 748 tag: 2 749 val: 1 750}, 751{ 752 index: 8 753 tag: 5 754 val: test 755}, 756{ 757 index: 9 758 tag: 5 759 val: test 760}, 761{ 762 index: 10 763 tag: 2 764 val: 0 765}, 766{ 767 index: 11 768 tag: 2 769 val: 0 770}, 771======> strings <====== 772"&bytecodehar1/bytecodehar1-file1&2.0.0.#*#A"; "&bytecodehar1/bytecodehar1-file1&2.0.0.#*#test"; "@normalized:N&&&sourcehar/sourcehar-file1&2.0.0"; "a"; "b"; "bytecodehar1.file1.test"; "c"; "print"; 773slotNum = 0x3 774.language ECMAScript 775.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test(any a0, any a1, any a2) { 776 tryldglobalbyname 0x0, print 777 sta v0 778 lda.str bytecodehar2.file1.test 779 sta v1 780 lda v0 781 callarg1 0x1, v1 782 returnundefined 783} 784 785slotNum = 0x1 786.language ECMAScript 787.function any &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 788 definefunc 0x0, &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test, 0x0 789 stmodulevar 0x0 790 returnundefined 791} 792 793 794======> literal array buffer <====== 795------------------------------------ 796slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1167 797------------------------------------ 798slot &@ohos/bytecodehar2/bytecodehar2-file1&2.0.0_1171 799{ 800 index: 0 801 tag: 2 802 val: 0 803}, 804{ 805 index: 1 806 tag: 2 807 val: 0 808}, 809{ 810 index: 2 811 tag: 2 812 val: 0 813}, 814{ 815 index: 3 816 tag: 2 817 val: 1 818}, 819{ 820 index: 4 821 tag: 5 822 val: test 823}, 824{ 825 index: 5 826 tag: 5 827 val: test 828}, 829{ 830 index: 6 831 tag: 2 832 val: 0 833}, 834{ 835 index: 7 836 tag: 2 837 val: 0 838}, 839======> strings <====== 840"&@ohos/bytecodehar2/bytecodehar2-file1&2.0.0.#*#test"; "bytecodehar2.file1.test"; "print"; 841slotNum = 0x2 842.language ECMAScript 843.function any &myapp/hap-file-exec&.#*#main(any a0, any a1, any a2) { 844label_1: 845label_0: 846 ldexternalmodulevar 0x0 847 sta v0 848 throw.undefinedifholewithname test 849 lda v0 850 callarg0 0x0 851 returnundefined 852label_2: 853} 854 855slotNum = 0x1 856.language ECMAScript 857.function any &myapp/hap-file-exec&.func_main_0(any a0, any a1, any a2) { 858label_1: 859label_0: 860 definefunc 0x0, &myapp/hap-file-exec&.#*#main, 0x0 861 returnundefined 862label_2: 863} 864 865 866======> literal array buffer <====== 867------------------------------------ 868slot &myapp/hap-file-exec&_0 869------------------------------------ 870slot &myapp/hap-file-exec&_1 871{ 872 index: 0 873 tag: 2 874 val: 1 875}, 876{ 877 index: 1 878 tag: 5 879 val: @normalized:N&&&bytecodehar1/bytecodehar1-file1&2.0.0 880}, 881{ 882 index: 2 883 tag: 2 884 val: 1 885}, 886{ 887 index: 3 888 tag: 5 889 val: test 890}, 891{ 892 index: 4 893 tag: 5 894 val: test 895}, 896{ 897 index: 5 898 tag: 9 899 val: 0 900}, 901{ 902 index: 6 903 tag: 2 904 val: 0 905}, 906{ 907 index: 7 908 tag: 2 909 val: 0 910}, 911{ 912 index: 8 913 tag: 2 914 val: 0 915}, 916{ 917 index: 9 918 tag: 2 919 val: 0 920}, 921======> strings <====== 922"&myapp/hap-file-exec&.#*#main"; "test"; 923slotNum = 0x3 924.language ECMAScript 925.function any &sourcehar/sourcehar-file1&2.0.0.#*#test(any a0, any a1, any a2) { 926label_1: 927label_0: 928 tryldglobalbyname 0x0, print 929 sta v0 930 lda.str sourcehar.file1.test 931 sta v1 932 lda v0 933 callarg1 0x1, v1 934 returnundefined 935label_2: 936} 937 938slotNum = 0x1 939.language ECMAScript 940.function any &sourcehar/sourcehar-file1&2.0.0.func_main_0(any a0, any a1, any a2) { 941label_1: 942label_0: 943 definefunc 0x0, &sourcehar/sourcehar-file1&2.0.0.#*#test, 0x0 944 stmodulevar 0x0 945 returnundefined 946label_2: 947} 948 949 950======> literal array buffer <====== 951------------------------------------ 952slot &sourcehar/sourcehar-file1&2.0.0_0 953------------------------------------ 954slot &sourcehar/sourcehar-file1&2.0.0_1 955{ 956 index: 0 957 tag: 2 958 val: 0 959}, 960{ 961 index: 1 962 tag: 2 963 val: 0 964}, 965{ 966 index: 2 967 tag: 2 968 val: 0 969}, 970{ 971 index: 3 972 tag: 2 973 val: 1 974}, 975{ 976 index: 4 977 tag: 5 978 val: test 979}, 980{ 981 index: 5 982 tag: 5 983 val: test 984}, 985{ 986 index: 6 987 tag: 2 988 val: 0 989}, 990{ 991 index: 7 992 tag: 2 993 val: 0 994}, 995======> strings <====== 996"&sourcehar/sourcehar-file1&2.0.0.#*#test"; "print"; "sourcehar.file1.test"; 997