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