Libraryless. Click here for Pure Java version (868L/7K/23K).
!747 m { p { // Any VM is injectable now. :) DialogIO injectionPoint = findBot("This is a JavaX VM."); injectionPoint.readLine(); S answer = injectionPoint.askLoudly(format3("please inject program *", "#1001387")); new Matches m; if (!match3("ok. injection id: *", answer, m)) fail("huh?"); S injectionID = unquote(m.m[0]); while (!match3("yes", injectionPoint.askLoudly("is injection's * main done?", injectionID))) { print("Waiting..."); sleepSeconds(1); } answer = injectionPoint.askLoudly("get injection result *", injectionID); print("Result: " + answer); // TODO: dispose injection injectionPoint.close(); } }
Began life as a copy of #1001376
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1001388 |
Snippet name: | Injection test (count threads in VM) |
Eternal ID of this version: | #1001388/1 |
Text MD5: | 0563852689958d508dbe48df9fe0d1ce |
Transpilation MD5: | bcea22afcb5352898210a7ce9b3017a7 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2015-10-13 21:06:43 |
Source code size: | 717 bytes / 23 lines |
Pitched / IR pitched: | No / Yes |
Views / Downloads: | 579 / 654 |
Referenced in: | #1001390 - Minimal injection test #3000202 - Answer for stefanreich (>> T conversion bot) #3000238 - Answer for stefanreich (>> t power bot) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |