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