On latest version (0.4.8) of libming and commit 50e2bf7, there is a null pointer dereference in getInt function of decompile.c file, which could be triggered by the POC below. To reproduce the issue, run ./swftophp $POC The POC is attach...
Type::getInt8PtrTy(C), auto *RegFatTy = FunctionType::get(PointerType::getUnqual(C)->getPointerTo(), PointerType::getUnqual(C), /*isVarArg*/ false); FunctionCallee RegFatbin = M.getOrInsertFunction( IsHIP ? "__hipRegisterFatBinary" : "__cudaRegisterFatBinary", RegFatTy); // ...