Set up testing infrastructure ("make test")

This commit is contained in:
Robert Xiao
2023-05-05 16:24:45 -07:00
parent 4b471e16e9
commit 66c8965f96
14 changed files with 151 additions and 19 deletions

View File

@@ -24,6 +24,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
Nguyen Tan Cong <shenlongbk@gmail.com>
*/
package samples;
import unicorn.*;
import java.util.*;
@@ -430,7 +432,7 @@ public class SampleNetworkAuditing {
}
// end utilities
static void test_i386(byte[] code) {
public static void test_i386(byte[] code) {
fd_chains.clean();
System.out.printf("Emulate i386 code\n");
try {