Skip to content

Commit

Permalink
remove debug
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbonnin committed Dec 4, 2024
1 parent e7315d6 commit c31e8db
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions salty-core/src/main/kotlin/salty/core/salty.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ internal fun scanClassPath(files: GInputFiles, forbiddenMethods: List<String>, o
"aar", "jar" -> scanJar(it.file, context)
"class" -> scanFile(it.file, context)
else -> {
println("Ignoring file: ${it.file.name}")
//println("Ignoring file: ${it.file.name}")
}
}
}
Expand All @@ -43,7 +43,7 @@ private fun scanJar(jar: File, context: Context) {
if (entry.name.endsWith(".class")) {
processBytes(zipInputStream.readAllBytes(), context, "${jar.absolutePath}:${entry.name}")
} else {
println("Cannot process ${entry.name}")
//println("Cannot process ${entry.name}")
}
}
entry = zipInputStream.nextEntry
Expand All @@ -52,7 +52,6 @@ private fun scanJar(jar: File, context: Context) {
}

fun processBytes(bytes: ByteArray, context: Context, location: String) {
println("processing $location")
ClassReader(bytes).accept(object : ClassVisitor(Opcodes.ASM9) {
override fun visitMethod(
access: Int,
Expand Down

0 comments on commit c31e8db

Please sign in to comment.