Skip to content

Instantly share code, notes, and snippets.

View kangzhang's full-sized avatar
🤣

Kang Zhang kangzhang

🤣
View GitHub Profile
(py38) kbox ➜ anyio git:(master) ✗ pytest tests/test_sockets.py -k "test_server_crash_after_write"
================================ test session starts ================================
platform linux -- Python 3.8.10, pytest-6.2.1, py-1.10.0, pluggy-0.13.1
rootdir: /home/kang/dev/anyio, configfile: pyproject.toml
plugins: mock-3.6.1, profiling-1.7.0, forked-1.3.0, httpx-0.12.0, asyncio-0.15.1, cov-2.12.1, anyio-3.3.0, xdist-2.2.1
collected 333 items / 327 deselected / 6 selected
tests/test_sockets.py FFFFFF [100%]
===================================== FAILURES ======================================
payload = """
{
"ak.somestring.internal.Shadow": {
"id": 33300002,
"init_state": "(bk.action.array.Make, (bk.action.i32.Const, 0))",
"child": {
"ak.somestring.Flexbox": {
"flex_direction": "column",
"align_items": "stretch",
"children": [
# usage - run the script with python and it should crash with segmentation falt 11
payload = """
{
"key.name.long.internal.Shadow": {
"id": 33300002,
"init_state": "(bk.action.array.Make, (bk.action.i32.Const, 0))",
"child": {
"key.name.long.Flexbox": {
"flex_direction": "column",
"align_items": "stretch",
diff --git a/demo/build.gradle b/demo/build.gradle
index f7e692b..b480690 100644
--- a/demo/build.gradle
+++ b/demo/build.gradle
@@ -9,6 +9,12 @@ buildscript {
}
}
+allprojects {
+ repositories {
@kangzhang
kangzhang / android
Last active August 29, 2015 14:26
android_runtime.so
sdd
21:26:47-kang ~/dev/ig-json-parser (test_travis_ci) $ ls -l build/libs/
total 488
-rw-r--r-- 1 kang 1876110778 261 May 9 03:00 ig-json-parser.jar
-rw-r--r-- 1 kang 1876110778 100479 May 9 03:00 processor-javadoc.jar
-rw-r--r-- 1 kang 1876110778 27016 May 9 03:00 processor-sources.jar
-rw-r--r-- 1 kang 1876110778 47992 May 9 03:00 processor.jar
-rw-r--r-- 1 kang 1876110778 51294 May 9 03:00 runtime-javadoc.jar
-rw-r--r-- 1 kang 1876110778 4898 May 9 03:00 runtime-sources.jar
-rw-r--r-- 1 kang 1876110778 3901 May 9 03:00 runtime.jar