1All Dependency Files: 2program_file: bytecodehar-abcinput.abc 3record_name: com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import& 4program_file: bytecodehar-abcinput.abc 5record_name: com.inter_app.hsp&bytecodehar/bytecodehar-static-import& 6program_file: importfile3.ts 7record_name: com.inter_app.hsp&lib2/importfile3& 8program_file: importfile4.ts 9record_name: com.inter_app.hsp&@ohos/lib2/importfile4& 10program_file: inter-app-hsp-file-exec.ts 11record_name: com.inter_app.hsp&myapp/inter-app-hsp-file-exec& 12 13 14======> literal array buffer <====== 15======> strings <====== 16 17 18======> literal array buffer <====== 19======> strings <====== 20 21 22======> literal array buffer <====== 23======> strings <====== 24 25slotNum = 0x0 26.language ECMAScript 27.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonConst(any a0, any a1, any a2) { 28 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 29 dynamicimport 30 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 31 dynamicimport 32 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 33 dynamicimport 34 returnundefined 35} 36 37slotNum = 0x0 38.language ECMAScript 39.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonOhmurl(any a0, any a1, any a2) { 40 lda.str aaa 41 dynamicimport 42 returnundefined 43} 44 45slotNum = 0x0 46.language ECMAScript 47.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWithAt(any a0, any a1, any a2) { 48 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 49 dynamicimport 50 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 51 dynamicimport 52 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 53 dynamicimport 54 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 55 dynamicimport 56 lda.str @normalized:N&&com.inter_app.hsp&@ohos/lib2/importfile4& 57 dynamicimport 58 returnundefined 59} 60 61slotNum = 0x0 62.language ECMAScript 63.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWoAt(any a0, any a1, any a2) { 64 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 65 dynamicimport 66 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 67 dynamicimport 68 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 69 dynamicimport 70 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 71 dynamicimport 72 lda.str @normalized:N&&com.inter_app.hsp&lib2/importfile3& 73 dynamicimport 74 returnundefined 75} 76 77slotNum = 0x4 78.language ECMAScript 79.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.func_main_0(any a0, any a1, any a2) { 80 definefunc 0x0, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonConst, 0x0 81 definefunc 0x1, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonOhmurl, 0x0 82 definefunc 0x2, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWithAt, 0x0 83 definefunc 0x3, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWoAt, 0x0 84 lda.str test 85 stmodulevar 0x0 86 returnundefined 87} 88 89 90======> literal array buffer <====== 91------------------------------------ 92slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2116 93------------------------------------ 94slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2120 95{ 96 index: 0 97 tag: 2 98 val: 0 99}, 100{ 101 index: 1 102 tag: 2 103 val: 0 104}, 105{ 106 index: 2 107 tag: 2 108 val: 0 109}, 110{ 111 index: 3 112 tag: 2 113 val: 1 114}, 115{ 116 index: 4 117 tag: 5 118 val: test 119}, 120{ 121 index: 5 122 tag: 5 123 val: test 124}, 125{ 126 index: 6 127 tag: 2 128 val: 0 129}, 130{ 131 index: 7 132 tag: 2 133 val: 0 134}, 135======> strings <====== 136"@normalized:N&&com.inter_app.hsp&@ohos/lib2/importfile4&"; "@normalized:N&&com.inter_app.hsp&lib2/importfile3&"; "@normalized:N&lib&&@ohos/lib/importfile2&2.0.0"; "@normalized:N&module&bundle&lib/importfile1&2.0.0"; "aaa"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonConst"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonOhmurl"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWithAt"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWoAt"; "test"; 137slotNum = 0x18 138.language ECMAScript 139.function any com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#*#foo(any a0, any a1, any a2) { 140 tryldglobalbyname 0x0, print 141 sta v0 142 createemptyarray 0x1 143 sta v1 144 ldlexvar 0x0, 0x0 145 sta v2 146 throw.undefinedifholewithname a 147 lda v2 148 stownbyindex 0x2, v1, 0x0 149 ldlexvar 0x0, 0x1 150 sta v2 151 throw.undefinedifholewithname b 152 lda v2 153 stownbyindex 0x4, v1, 0x1 154 ldlexvar 0x0, 0x2 155 sta v2 156 throw.undefinedifholewithname c 157 lda v2 158 stownbyindex 0x6, v1, 0x2 159 ldlexvar 0x0, 0x3 160 sta v2 161 throw.undefinedifholewithname d 162 lda v2 163 stownbyindex 0x8, v1, 0x3 164 ldlexvar 0x0, 0x4 165 sta v2 166 throw.undefinedifholewithname e 167 lda v2 168 stownbyindex 0xa, v1, 0x4 169 ldlexvar 0x0, 0x5 170 sta v2 171 throw.undefinedifholewithname f 172 lda v2 173 stownbyindex 0xc, v1, 0x5 174 ldlexvar 0x0, 0x6 175 sta v2 176 throw.undefinedifholewithname g 177 lda v2 178 stownbyindex 0xe, v1, 0x6 179 ldlexvar 0x0, 0x7 180 sta v2 181 throw.undefinedifholewithname h 182 lda v2 183 stownbyindex 0x10, v1, 0x7 184 ldlexvar 0x0, 0x8 185 sta v2 186 throw.undefinedifholewithname i 187 lda v2 188 stownbyindex 0x12, v1, 0x8 189 ldlexvar 0x0, 0x9 190 sta v2 191 throw.undefinedifholewithname j 192 lda v2 193 stownbyindex 0x14, v1, 0x9 194 lda v0 195 callarg1 0x16, v1 196 returnundefined 197} 198 199slotNum = 0x1 200.language ECMAScript 201.function any com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.func_main_0(any a0, any a1, any a2) { 202 newlexenv 0xa 203 definefunc 0x0, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#*#foo, 0x0 204 getmodulenamespace 0x0 205 stlexvar 0x0, 0x0 206 getmodulenamespace 0x1 207 stlexvar 0x0, 0x1 208 getmodulenamespace 0x2 209 stlexvar 0x0, 0x2 210 getmodulenamespace 0x3 211 stlexvar 0x0, 0x3 212 getmodulenamespace 0x4 213 stlexvar 0x0, 0x4 214 getmodulenamespace 0x5 215 stlexvar 0x0, 0x5 216 getmodulenamespace 0x6 217 stlexvar 0x0, 0x6 218 getmodulenamespace 0x7 219 stlexvar 0x0, 0x7 220 getmodulenamespace 0x8 221 stlexvar 0x0, 0x8 222 getmodulenamespace 0x9 223 stlexvar 0x0, 0x9 224 returnundefined 225} 226 227 228======> literal array buffer <====== 229------------------------------------ 230slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2156 231------------------------------------ 232slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2160 233{ 234 index: 0 235 tag: 2 236 val: 10 237}, 238{ 239 index: 1 240 tag: 5 241 val: @normalized:N&module&bundle&lib/importfile1&2.0.0 242}, 243{ 244 index: 2 245 tag: 5 246 val: @normalized:N&module&bundle&lib/importfile1&2.0.0 247}, 248{ 249 index: 3 250 tag: 5 251 val: @normalized:N&&bundle&lib/importfile1&2.0.0 252}, 253{ 254 index: 4 255 tag: 5 256 val: @normalized:N&&bundle&lib/importfile1&2.0.0 257}, 258{ 259 index: 5 260 tag: 5 261 val: @normalized:N&&com.inter_app.hsp&lib2/importfile3& 262}, 263{ 264 index: 6 265 tag: 5 266 val: @normalized:N&module&&@ohos/lib/importfile2&2.0.0 267}, 268{ 269 index: 7 270 tag: 5 271 val: @normalized:N&module&&@ohos/lib/importfile2&2.0.0 272}, 273{ 274 index: 8 275 tag: 5 276 val: @normalized:N&&&@ohos/lib/importfile2&2.0.0 277}, 278{ 279 index: 9 280 tag: 5 281 val: @normalized:N&&&@ohos/lib/importfile2&2.0.0 282}, 283{ 284 index: 10 285 tag: 5 286 val: @normalized:N&&com.inter_app.hsp&@ohos/lib2/importfile4& 287}, 288{ 289 index: 11 290 tag: 2 291 val: 0 292}, 293{ 294 index: 12 295 tag: 2 296 val: 10 297}, 298{ 299 index: 13 300 tag: 5 301 val: a 302}, 303{ 304 index: 14 305 tag: 9 306 val: 0 307}, 308{ 309 index: 15 310 tag: 5 311 val: b 312}, 313{ 314 index: 16 315 tag: 9 316 val: 1 317}, 318{ 319 index: 17 320 tag: 5 321 val: c 322}, 323{ 324 index: 18 325 tag: 9 326 val: 2 327}, 328{ 329 index: 19 330 tag: 5 331 val: d 332}, 333{ 334 index: 20 335 tag: 9 336 val: 3 337}, 338{ 339 index: 21 340 tag: 5 341 val: e 342}, 343{ 344 index: 22 345 tag: 9 346 val: 4 347}, 348{ 349 index: 23 350 tag: 5 351 val: f 352}, 353{ 354 index: 24 355 tag: 9 356 val: 5 357}, 358{ 359 index: 25 360 tag: 5 361 val: g 362}, 363{ 364 index: 26 365 tag: 9 366 val: 6 367}, 368{ 369 index: 27 370 tag: 5 371 val: h 372}, 373{ 374 index: 28 375 tag: 9 376 val: 7 377}, 378{ 379 index: 29 380 tag: 5 381 val: i 382}, 383{ 384 index: 30 385 tag: 9 386 val: 8 387}, 388{ 389 index: 31 390 tag: 5 391 val: j 392}, 393{ 394 index: 32 395 tag: 9 396 val: 9 397}, 398{ 399 index: 33 400 tag: 2 401 val: 0 402}, 403{ 404 index: 34 405 tag: 2 406 val: 0 407}, 408{ 409 index: 35 410 tag: 2 411 val: 0 412}, 413======> strings <====== 414"a"; "b"; "c"; "com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#*#foo"; "d"; "e"; "f"; "g"; "h"; "i"; "j"; "print"; 415slotNum = 0x0 416.language ECMAScript 417.function any bundle&lib/importfile1&2.0.0.func_main_0(any a0, any a1, any a2) { 418label_1: 419label_0: 420 ldtrue 421 stmodulevar 0x0 422 returnundefined 423label_2: 424} 425 426 427======> literal array buffer <====== 428------------------------------------ 429slot bundle&lib/importfile1&2.0.0_0 430------------------------------------ 431slot bundle&lib/importfile1&2.0.0_1 432{ 433 index: 0 434 tag: 2 435 val: 0 436}, 437{ 438 index: 1 439 tag: 2 440 val: 0 441}, 442{ 443 index: 2 444 tag: 2 445 val: 0 446}, 447{ 448 index: 3 449 tag: 2 450 val: 1 451}, 452{ 453 index: 4 454 tag: 5 455 val: test1 456}, 457{ 458 index: 5 459 tag: 5 460 val: test1 461}, 462{ 463 index: 6 464 tag: 2 465 val: 0 466}, 467{ 468 index: 7 469 tag: 2 470 val: 0 471}, 472======> strings <====== 473 474slotNum = 0x0 475.language ECMAScript 476.function any com.inter_app.hsp&@ohos/lib/importfile2&2.0.0.func_main_0(any a0, any a1, any a2) { 477label_1: 478label_0: 479 ldtrue 480 stmodulevar 0x0 481 returnundefined 482label_2: 483} 484 485 486======> literal array buffer <====== 487------------------------------------ 488slot com.inter_app.hsp&@ohos/lib/importfile2&2.0.0_0 489------------------------------------ 490slot com.inter_app.hsp&@ohos/lib/importfile2&2.0.0_1 491{ 492 index: 0 493 tag: 2 494 val: 0 495}, 496{ 497 index: 1 498 tag: 2 499 val: 0 500}, 501{ 502 index: 2 503 tag: 2 504 val: 0 505}, 506{ 507 index: 3 508 tag: 2 509 val: 1 510}, 511{ 512 index: 4 513 tag: 5 514 val: test2 515}, 516{ 517 index: 5 518 tag: 5 519 val: test2 520}, 521{ 522 index: 6 523 tag: 2 524 val: 0 525}, 526{ 527 index: 7 528 tag: 2 529 val: 0 530}, 531======> strings <====== 532 533slotNum = 0x0 534.language ECMAScript 535.function any com.inter_app.hsp&lib2/importfile3&.func_main_0(any a0, any a1, any a2) { 536label_1: 537label_0: 538 ldtrue 539 stmodulevar 0x0 540 returnundefined 541label_2: 542} 543 544 545======> literal array buffer <====== 546------------------------------------ 547slot com.inter_app.hsp&lib2/importfile3&_0 548------------------------------------ 549slot com.inter_app.hsp&lib2/importfile3&_1 550{ 551 index: 0 552 tag: 2 553 val: 0 554}, 555{ 556 index: 1 557 tag: 2 558 val: 0 559}, 560{ 561 index: 2 562 tag: 2 563 val: 0 564}, 565{ 566 index: 3 567 tag: 2 568 val: 1 569}, 570{ 571 index: 4 572 tag: 5 573 val: test3 574}, 575{ 576 index: 5 577 tag: 5 578 val: test3 579}, 580{ 581 index: 6 582 tag: 2 583 val: 0 584}, 585{ 586 index: 7 587 tag: 2 588 val: 0 589}, 590======> strings <====== 591 592slotNum = 0x0 593.language ECMAScript 594.function any com.inter_app.hsp&@ohos/lib2/importfile4&.func_main_0(any a0, any a1, any a2) { 595label_1: 596label_0: 597 ldtrue 598 stmodulevar 0x0 599 returnundefined 600label_2: 601} 602 603 604======> literal array buffer <====== 605------------------------------------ 606slot com.inter_app.hsp&@ohos/lib2/importfile4&_0 607------------------------------------ 608slot com.inter_app.hsp&@ohos/lib2/importfile4&_1 609{ 610 index: 0 611 tag: 2 612 val: 0 613}, 614{ 615 index: 1 616 tag: 2 617 val: 0 618}, 619{ 620 index: 2 621 tag: 2 622 val: 0 623}, 624{ 625 index: 3 626 tag: 2 627 val: 1 628}, 629{ 630 index: 4 631 tag: 5 632 val: test4 633}, 634{ 635 index: 5 636 tag: 5 637 val: test4 638}, 639{ 640 index: 6 641 tag: 2 642 val: 0 643}, 644{ 645 index: 7 646 tag: 2 647 val: 0 648}, 649======> strings <====== 650 651slotNum = 0xa 652.language ECMAScript 653.function any com.inter_app.hsp&myapp/inter-app-hsp-file-exec&.func_main_0(any a0, any a1, any a2) { 654label_1: 655label_0: 656 getmodulenamespace 0x0 657 sta v0 658 getmodulenamespace 0x1 659 sta v1 660 tryldglobalbyname 0x0, print 661 sta v2 662 lda v0 663 ldobjbyname 0x1, test 664 sta v0 665 lda v2 666 callarg1 0x3, v0 667 tryldglobalbyname 0x5, print 668 sta v0 669 lda v1 670 ldobjbyname 0x6, test 671 sta v1 672 lda v0 673 callarg1 0x8, v1 674 returnundefined 675label_2: 676} 677 678 679======> literal array buffer <====== 680------------------------------------ 681slot com.inter_app.hsp&myapp/inter-app-hsp-file-exec&_0 682------------------------------------ 683slot com.inter_app.hsp&myapp/inter-app-hsp-file-exec&_1 684{ 685 index: 0 686 tag: 2 687 val: 2 688}, 689{ 690 index: 1 691 tag: 5 692 val: @normalized:N&&com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import& 693}, 694{ 695 index: 2 696 tag: 5 697 val: @normalized:N&&com.inter_app.hsp&bytecodehar/bytecodehar-static-import& 698}, 699{ 700 index: 3 701 tag: 2 702 val: 0 703}, 704{ 705 index: 4 706 tag: 2 707 val: 2 708}, 709{ 710 index: 5 711 tag: 5 712 val: bytecodeharDynamicImport 713}, 714{ 715 index: 6 716 tag: 9 717 val: 0 718}, 719{ 720 index: 7 721 tag: 5 722 val: bytecodeharStaticImport 723}, 724{ 725 index: 8 726 tag: 9 727 val: 1 728}, 729{ 730 index: 9 731 tag: 2 732 val: 0 733}, 734{ 735 index: 10 736 tag: 2 737 val: 0 738}, 739{ 740 index: 11 741 tag: 2 742 val: 0 743}, 744======> strings <====== 745"print"; "test"; 746slotNum = 0x0 747.language ECMAScript 748.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonConst(any a0, any a1, any a2) { 749 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 750 dynamicimport 751 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 752 dynamicimport 753 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 754 dynamicimport 755 returnundefined 756} 757 758slotNum = 0x0 759.language ECMAScript 760.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonOhmurl(any a0, any a1, any a2) { 761 lda.str aaa 762 dynamicimport 763 returnundefined 764} 765 766slotNum = 0x0 767.language ECMAScript 768.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWithAt(any a0, any a1, any a2) { 769 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 770 dynamicimport 771 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 772 dynamicimport 773 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 774 dynamicimport 775 lda.str @normalized:N&lib&&@ohos/lib/importfile2&2.0.0 776 dynamicimport 777 lda.str @normalized:N&&com.inter_app.hsp&@ohos/lib2/importfile4& 778 dynamicimport 779 returnundefined 780} 781 782slotNum = 0x0 783.language ECMAScript 784.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWoAt(any a0, any a1, any a2) { 785 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 786 dynamicimport 787 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 788 dynamicimport 789 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 790 dynamicimport 791 lda.str @normalized:N&module&bundle&lib/importfile1&2.0.0 792 dynamicimport 793 lda.str @normalized:N&&com.inter_app.hsp&lib2/importfile3& 794 dynamicimport 795 returnundefined 796} 797 798slotNum = 0x4 799.language ECMAScript 800.function any com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.func_main_0(any a0, any a1, any a2) { 801 definefunc 0x0, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonConst, 0x0 802 definefunc 0x1, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonOhmurl, 0x0 803 definefunc 0x2, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWithAt, 0x0 804 definefunc 0x3, com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWoAt, 0x0 805 lda.str test 806 stmodulevar 0x0 807 returnundefined 808} 809 810 811======> literal array buffer <====== 812------------------------------------ 813slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2116 814------------------------------------ 815slot com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&_2120 816{ 817 index: 0 818 tag: 2 819 val: 0 820}, 821{ 822 index: 1 823 tag: 2 824 val: 0 825}, 826{ 827 index: 2 828 tag: 2 829 val: 0 830}, 831{ 832 index: 3 833 tag: 2 834 val: 1 835}, 836{ 837 index: 4 838 tag: 5 839 val: test 840}, 841{ 842 index: 5 843 tag: 5 844 val: test 845}, 846{ 847 index: 6 848 tag: 2 849 val: 0 850}, 851{ 852 index: 7 853 tag: 2 854 val: 0 855}, 856======> strings <====== 857"@normalized:N&&com.inter_app.hsp&@ohos/lib2/importfile4&"; "@normalized:N&&com.inter_app.hsp&lib2/importfile3&"; "@normalized:N&lib&&@ohos/lib/importfile2&2.0.0"; "@normalized:N&module&bundle&lib/importfile1&2.0.0"; "aaa"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonConst"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testNonOhmurl"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWithAt"; "com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import&.#*#testReplacementWoAt"; "test"; 858slotNum = 0x18 859.language ECMAScript 860.function any com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#*#foo(any a0, any a1, any a2) { 861 tryldglobalbyname 0x0, print 862 sta v0 863 createemptyarray 0x1 864 sta v1 865 ldlexvar 0x0, 0x0 866 sta v2 867 throw.undefinedifholewithname a 868 lda v2 869 stownbyindex 0x2, v1, 0x0 870 ldlexvar 0x0, 0x1 871 sta v2 872 throw.undefinedifholewithname b 873 lda v2 874 stownbyindex 0x4, v1, 0x1 875 ldlexvar 0x0, 0x2 876 sta v2 877 throw.undefinedifholewithname c 878 lda v2 879 stownbyindex 0x6, v1, 0x2 880 ldlexvar 0x0, 0x3 881 sta v2 882 throw.undefinedifholewithname d 883 lda v2 884 stownbyindex 0x8, v1, 0x3 885 ldlexvar 0x0, 0x4 886 sta v2 887 throw.undefinedifholewithname e 888 lda v2 889 stownbyindex 0xa, v1, 0x4 890 ldlexvar 0x0, 0x5 891 sta v2 892 throw.undefinedifholewithname f 893 lda v2 894 stownbyindex 0xc, v1, 0x5 895 ldlexvar 0x0, 0x6 896 sta v2 897 throw.undefinedifholewithname g 898 lda v2 899 stownbyindex 0xe, v1, 0x6 900 ldlexvar 0x0, 0x7 901 sta v2 902 throw.undefinedifholewithname h 903 lda v2 904 stownbyindex 0x10, v1, 0x7 905 ldlexvar 0x0, 0x8 906 sta v2 907 throw.undefinedifholewithname i 908 lda v2 909 stownbyindex 0x12, v1, 0x8 910 ldlexvar 0x0, 0x9 911 sta v2 912 throw.undefinedifholewithname j 913 lda v2 914 stownbyindex 0x14, v1, 0x9 915 lda v0 916 callarg1 0x16, v1 917 returnundefined 918} 919 920slotNum = 0x1 921.language ECMAScript 922.function any com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.func_main_0(any a0, any a1, any a2) { 923 newlexenv 0xa 924 definefunc 0x0, com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#*#foo, 0x0 925 getmodulenamespace 0x0 926 stlexvar 0x0, 0x0 927 getmodulenamespace 0x1 928 stlexvar 0x0, 0x1 929 getmodulenamespace 0x2 930 stlexvar 0x0, 0x2 931 getmodulenamespace 0x3 932 stlexvar 0x0, 0x3 933 getmodulenamespace 0x4 934 stlexvar 0x0, 0x4 935 getmodulenamespace 0x5 936 stlexvar 0x0, 0x5 937 getmodulenamespace 0x6 938 stlexvar 0x0, 0x6 939 getmodulenamespace 0x7 940 stlexvar 0x0, 0x7 941 getmodulenamespace 0x8 942 stlexvar 0x0, 0x8 943 getmodulenamespace 0x9 944 stlexvar 0x0, 0x9 945 returnundefined 946} 947 948 949======> literal array buffer <====== 950------------------------------------ 951slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2156 952------------------------------------ 953slot com.inter_app.hsp&bytecodehar/bytecodehar-static-import&_2160 954{ 955 index: 0 956 tag: 2 957 val: 10 958}, 959{ 960 index: 1 961 tag: 5 962 val: @normalized:N&module&bundle&lib/importfile1&2.0.0 963}, 964{ 965 index: 2 966 tag: 5 967 val: @normalized:N&module&bundle&lib/importfile1&2.0.0 968}, 969{ 970 index: 3 971 tag: 5 972 val: @normalized:N&&bundle&lib/importfile1&2.0.0 973}, 974{ 975 index: 4 976 tag: 5 977 val: @normalized:N&&bundle&lib/importfile1&2.0.0 978}, 979{ 980 index: 5 981 tag: 5 982 val: @normalized:N&&com.inter_app.hsp&lib2/importfile3& 983}, 984{ 985 index: 6 986 tag: 5 987 val: @normalized:N&module&&@ohos/lib/importfile2&2.0.0 988}, 989{ 990 index: 7 991 tag: 5 992 val: @normalized:N&module&&@ohos/lib/importfile2&2.0.0 993}, 994{ 995 index: 8 996 tag: 5 997 val: @normalized:N&&&@ohos/lib/importfile2&2.0.0 998}, 999{ 1000 index: 9 1001 tag: 5 1002 val: @normalized:N&&&@ohos/lib/importfile2&2.0.0 1003}, 1004{ 1005 index: 10 1006 tag: 5 1007 val: @normalized:N&&com.inter_app.hsp&@ohos/lib2/importfile4& 1008}, 1009{ 1010 index: 11 1011 tag: 2 1012 val: 0 1013}, 1014{ 1015 index: 12 1016 tag: 2 1017 val: 10 1018}, 1019{ 1020 index: 13 1021 tag: 5 1022 val: a 1023}, 1024{ 1025 index: 14 1026 tag: 9 1027 val: 0 1028}, 1029{ 1030 index: 15 1031 tag: 5 1032 val: b 1033}, 1034{ 1035 index: 16 1036 tag: 9 1037 val: 1 1038}, 1039{ 1040 index: 17 1041 tag: 5 1042 val: c 1043}, 1044{ 1045 index: 18 1046 tag: 9 1047 val: 2 1048}, 1049{ 1050 index: 19 1051 tag: 5 1052 val: d 1053}, 1054{ 1055 index: 20 1056 tag: 9 1057 val: 3 1058}, 1059{ 1060 index: 21 1061 tag: 5 1062 val: e 1063}, 1064{ 1065 index: 22 1066 tag: 9 1067 val: 4 1068}, 1069{ 1070 index: 23 1071 tag: 5 1072 val: f 1073}, 1074{ 1075 index: 24 1076 tag: 9 1077 val: 5 1078}, 1079{ 1080 index: 25 1081 tag: 5 1082 val: g 1083}, 1084{ 1085 index: 26 1086 tag: 9 1087 val: 6 1088}, 1089{ 1090 index: 27 1091 tag: 5 1092 val: h 1093}, 1094{ 1095 index: 28 1096 tag: 9 1097 val: 7 1098}, 1099{ 1100 index: 29 1101 tag: 5 1102 val: i 1103}, 1104{ 1105 index: 30 1106 tag: 9 1107 val: 8 1108}, 1109{ 1110 index: 31 1111 tag: 5 1112 val: j 1113}, 1114{ 1115 index: 32 1116 tag: 9 1117 val: 9 1118}, 1119{ 1120 index: 33 1121 tag: 2 1122 val: 0 1123}, 1124{ 1125 index: 34 1126 tag: 2 1127 val: 0 1128}, 1129{ 1130 index: 35 1131 tag: 2 1132 val: 0 1133}, 1134======> strings <====== 1135"a"; "b"; "c"; "com.inter_app.hsp&bytecodehar/bytecodehar-static-import&.#*#foo"; "d"; "e"; "f"; "g"; "h"; "i"; "j"; "print"; 1136slotNum = 0x0 1137.language ECMAScript 1138.function any com.inter_app.hsp&lib2/importfile3&.func_main_0(any a0, any a1, any a2) { 1139label_1: 1140label_0: 1141 ldtrue 1142 stmodulevar 0x0 1143 returnundefined 1144label_2: 1145} 1146 1147 1148======> literal array buffer <====== 1149------------------------------------ 1150slot com.inter_app.hsp&lib2/importfile3&_0 1151------------------------------------ 1152slot com.inter_app.hsp&lib2/importfile3&_1 1153{ 1154 index: 0 1155 tag: 2 1156 val: 0 1157}, 1158{ 1159 index: 1 1160 tag: 2 1161 val: 0 1162}, 1163{ 1164 index: 2 1165 tag: 2 1166 val: 0 1167}, 1168{ 1169 index: 3 1170 tag: 2 1171 val: 1 1172}, 1173{ 1174 index: 4 1175 tag: 5 1176 val: test3 1177}, 1178{ 1179 index: 5 1180 tag: 5 1181 val: test3 1182}, 1183{ 1184 index: 6 1185 tag: 2 1186 val: 0 1187}, 1188{ 1189 index: 7 1190 tag: 2 1191 val: 0 1192}, 1193======> strings <====== 1194 1195slotNum = 0x0 1196.language ECMAScript 1197.function any com.inter_app.hsp&@ohos/lib2/importfile4&.func_main_0(any a0, any a1, any a2) { 1198label_1: 1199label_0: 1200 ldtrue 1201 stmodulevar 0x0 1202 returnundefined 1203label_2: 1204} 1205 1206 1207======> literal array buffer <====== 1208------------------------------------ 1209slot com.inter_app.hsp&@ohos/lib2/importfile4&_0 1210------------------------------------ 1211slot com.inter_app.hsp&@ohos/lib2/importfile4&_1 1212{ 1213 index: 0 1214 tag: 2 1215 val: 0 1216}, 1217{ 1218 index: 1 1219 tag: 2 1220 val: 0 1221}, 1222{ 1223 index: 2 1224 tag: 2 1225 val: 0 1226}, 1227{ 1228 index: 3 1229 tag: 2 1230 val: 1 1231}, 1232{ 1233 index: 4 1234 tag: 5 1235 val: test4 1236}, 1237{ 1238 index: 5 1239 tag: 5 1240 val: test4 1241}, 1242{ 1243 index: 6 1244 tag: 2 1245 val: 0 1246}, 1247{ 1248 index: 7 1249 tag: 2 1250 val: 0 1251}, 1252======> strings <====== 1253 1254slotNum = 0xa 1255.language ECMAScript 1256.function any com.inter_app.hsp&myapp/inter-app-hsp-file-exec&.func_main_0(any a0, any a1, any a2) { 1257label_1: 1258label_0: 1259 getmodulenamespace 0x0 1260 sta v0 1261 getmodulenamespace 0x1 1262 sta v1 1263 tryldglobalbyname 0x0, print 1264 sta v2 1265 lda v0 1266 ldobjbyname 0x1, test 1267 sta v0 1268 lda v2 1269 callarg1 0x3, v0 1270 tryldglobalbyname 0x5, print 1271 sta v0 1272 lda v1 1273 ldobjbyname 0x6, test 1274 sta v1 1275 lda v0 1276 callarg1 0x8, v1 1277 returnundefined 1278label_2: 1279} 1280 1281 1282======> literal array buffer <====== 1283------------------------------------ 1284slot com.inter_app.hsp&myapp/inter-app-hsp-file-exec&_0 1285------------------------------------ 1286slot com.inter_app.hsp&myapp/inter-app-hsp-file-exec&_1 1287{ 1288 index: 0 1289 tag: 2 1290 val: 2 1291}, 1292{ 1293 index: 1 1294 tag: 5 1295 val: @normalized:N&&com.inter_app.hsp&bytecodehar/bytecodehar-dynamic-import& 1296}, 1297{ 1298 index: 2 1299 tag: 5 1300 val: @normalized:N&&com.inter_app.hsp&bytecodehar/bytecodehar-static-import& 1301}, 1302{ 1303 index: 3 1304 tag: 2 1305 val: 0 1306}, 1307{ 1308 index: 4 1309 tag: 2 1310 val: 2 1311}, 1312{ 1313 index: 5 1314 tag: 5 1315 val: bytecodeharDynamicImport 1316}, 1317{ 1318 index: 6 1319 tag: 9 1320 val: 0 1321}, 1322{ 1323 index: 7 1324 tag: 5 1325 val: bytecodeharStaticImport 1326}, 1327{ 1328 index: 8 1329 tag: 9 1330 val: 1 1331}, 1332{ 1333 index: 9 1334 tag: 2 1335 val: 0 1336}, 1337{ 1338 index: 10 1339 tag: 2 1340 val: 0 1341}, 1342{ 1343 index: 11 1344 tag: 2 1345 val: 0 1346}, 1347======> strings <====== 1348"print"; "test"; 1349