Skip to content
Snippets Groups Projects
Verified Commit a38776d5 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Undo project structure changes

parent b6c874c1
No related branches found
No related tags found
No related merge requests found
Showing
with 1 addition and 62 deletions
/*
* libquassel
* Copyright (c) 2021 Janne Mareike Koschinski
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at https://mozilla.org/MPL/2.0/.
*/
plugins {
id("com.github.johnrengelman.shadow") version "7.0.0"
}
dependencies {
api(project(":protocol"))
implementation("com.code-intelligence", "jazzer-api", "0.9.1")
}
/*
* libquassel
* Copyright (c) 2021 Janne Mareike Koschinski
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at https://mozilla.org/MPL/2.0/.
*/
package de.justjanne.libquassel.fuzz
import com.code_intelligence.jazzer.api.FuzzedDataProvider
import de.justjanne.libquassel.protocol.features.FeatureSet
import de.justjanne.libquassel.protocol.serializers.HandshakeMessageSerializer
import java.nio.ByteBuffer
object HandshakeFuzzTarget {
@JvmStatic
fun fuzzerTestOneInput(data: FuzzedDataProvider) {
val featureSet = if (data.consumeBoolean()) FeatureSet.all() else FeatureSet.none()
HandshakeMessageSerializer.deserialize(ByteBuffer.wrap(data.consumeRemainingAsBytes()), featureSet)
}
}
/*
* libquassel
* Copyright (c) 2021 Janne Mareike Koschinski
*
* This Source Code Form is subject to the terms of the Mozilla Public License,
* v. 2.0. If a copy of the MPL was not distributed with this file, You can
* obtain one at https://mozilla.org/MPL/2.0/.
*/
package de.justjanne.libquassel.fuzz
import com.code_intelligence.jazzer.api.FuzzedDataProvider
import de.justjanne.libquassel.protocol.features.FeatureSet
import de.justjanne.libquassel.protocol.serializers.SignalProxyMessageSerializer
import java.nio.ByteBuffer
object SignalProxyFuzzTarget {
@JvmStatic
fun fuzzerTestOneInput(data: FuzzedDataProvider) {
val featureSet = if (data.consumeBoolean()) FeatureSet.all() else FeatureSet.none()
SignalProxyMessageSerializer.deserialize(ByteBuffer.wrap(data.consumeRemainingAsBytes()), featureSet)
}
}
......@@ -14,7 +14,7 @@ kotlinPoetVersion=1.8.0
kspVersion=1.5.10-1.0.0-beta01
GROUP=de.justjanne.libquassel
VERSION_NAME=0.5.1
VERSION_NAME=0.5.
POM_URL=https://git.kuschku.de/justJanne/libquassel
POM_SCM_URL=https://git.kuschku.de/justJanne/libquassel
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment