mirror of
https://github.com/radareorg/r2flutter.git
synced 2026-11-07 06:26:00 -10:00
Add w0rdle tests for ObjectPool decode, string/method recovery and header JSON
This commit is contained in:
1 parent
283242b724
commit
6bad309eb6
6 files changed
+78
No files matched your search
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "appstrings-android-w0rdle",
|
||||
"cwd": "test",
|
||||
"cmd": ["../bin/r2flutter", "-q", "-z", "bins/android/w0rdle/libapp.so"],
|
||||
"timeout": 30,
|
||||
"expect": {
|
||||
"contains": [
|
||||
"assets/allowed_guesses.txt",
|
||||
"ph0wn CTF is awesome"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "header-json-android-w0rdle",
|
||||
"cwd": "test",
|
||||
"cmd": ["../bin/r2flutter", "-Hj", "bins/android/w0rdle/libapp.so"],
|
||||
"timeout": 30,
|
||||
"expect": {
|
||||
"json": {
|
||||
"dart_version": "2.18.0",
|
||||
"hash": "b0e899ec5a90e4661501f0b69e9dd70f",
|
||||
"cws": 4,
|
||||
"tag_style": "CID_SHIFT1"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "methods-android-w0rdle",
|
||||
"cwd": "test",
|
||||
"cmd": ["../bin/r2flutter", "-q", "-f", "bins/android/w0rdle/libapp.so"],
|
||||
"timeout": 30,
|
||||
"expect": {
|
||||
"contains": [
|
||||
"method.WordService.getWordToFind",
|
||||
"method.WordService._readFile_746434692",
|
||||
"method.Flutterdle.didWin",
|
||||
"method.CachingAssetBundle.loadString"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "objdecode-android-w0rdle",
|
||||
"cwd": "test",
|
||||
"cmd": ["../bin/r2flutter", "-O", "pp+36864", "bins/android/w0rdle/libapp.so"],
|
||||
"timeout": 30,
|
||||
"expect": {
|
||||
"contains": [
|
||||
"target.kind: string",
|
||||
"target.name: \"floatingActionButtonTheme\""
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"name": "objdecode-func-android-w0rdle",
|
||||
"cwd": "test",
|
||||
"cmd": ["../bin/r2flutter", "-O", "pp+1240", "bins/android/w0rdle/libapp.so"],
|
||||
"timeout": 30,
|
||||
"expect": {
|
||||
"contains": [
|
||||
"target.kind: function",
|
||||
"target.name: \"method."
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "pool-android-w0rdle",
|
||||
"cwd": "test",
|
||||
"cmd": ["../bin/r2flutter", "-p", "bins/android/w0rdle/libapp.so"],
|
||||
"timeout": 30,
|
||||
"expect": {
|
||||
"contains": [
|
||||
"length: 12351 entries"
|
||||
],
|
||||
"not_contains": [
|
||||
"PP not resolved"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user