Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1001387 // Count all threads (injectable program)

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (30L/1K/1K).

!747

m {
  static int result;
  
  p {
    Map<Thread, StackTraceElement[]> threadMap = Thread.getAllStackTraces();
    result = threadMap.size();
  }
}

Author comment

Began life as a copy of #1000948

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: #1001387
Snippet name: Count all threads (injectable program)
Eternal ID of this version: #1001387/1
Text MD5: 813cd3d9d2061bb3b6d4a91f71466dee
Transpilation MD5: 6ec4f51482a0e5d965a7d57ba9a67fa0
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-10-13 18:03:18
Source code size: 162 bytes / 10 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 573 / 878
Referenced in: #1001388 - Injection test (count threads in VM)
#1001389 - Simple injectable program test