Note: change cmake -G parameter to whatever visual studio you need... just pass cmake -G "" to make it list all the options
git clone https://github.com/codilime/veles
cd veles
Open CMakeLists.txt add this at the top:
Note: change cmake -G parameter to whatever visual studio you need... just pass cmake -G "" to make it list all the options
git clone https://github.com/codilime/veles
cd veles
Open CMakeLists.txt add this at the top:
// (c) 2017 maple-ir project. | |
package org.mapleir.ir.algorithms; | |
import java.util.*; | |
import org.objectweb.asm.Label; | |
import org.objectweb.asm.Type; | |
import org.objectweb.asm.tree.AbstractInsnNode; | |
import org.objectweb.asm.tree.LabelNode; | |
import org.objectweb.asm.tree.MethodNode; |
// What is the problem with this implementation of List#addAll? Assume add() is implemented properly. | |
@Override | |
public boolean addAll(Collection<? extends Statement> c) { | |
boolean ret = false; | |
for (Statement s : c) | |
ret = ret || add(s); | |
return ret; | |
} |
package org.spigotmc.plugincracker; | |
import org.objectweb.asm.*; | |
import org.objectweb.asm.commons.JSRInlinerAdapter; | |
import org.objectweb.asm.tree.*; | |
import org.objectweb.asm.util.CheckClassAdapter; | |
import java.io.*; | |
import java.lang.reflect.Method; | |
import java.net.MalformedURLException; |
#include "stdafx.h" | |
DWORD getPID(LPCSTR szFileName) | |
{ | |
HANDLE hSnapshot = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, NULL); | |
PROCESSENTRY32 pe; | |
pe.dwFlags = sizeof(PROCESSENTRY32); | |
if (hSnapshot == INVALID_HANDLE_VALUE) | |
return 0; |