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