(String path)
| 25 | } |
| 26 | |
| 27 | public static Object readObj4File(String path) throws IOException, ClassNotFoundException { |
| 28 | System.out.println("get obj for "+ path); |
| 29 | FileInputStream fileInput = new FileInputStream(path); |
| 30 | ObjectInputStream input = new ObjectInputStream(fileInput); |
| 31 | return input.readObject(); |
| 32 | } |
| 33 | |
| 34 | public static void runGadgets(Object obj)throws Exception{ |
| 35 | byte[] ser = serialize(obj); |
nothing calls this directly
no outgoing calls
no test coverage detected