social.coop is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Fediverse instance for people interested in cooperative and collective projects. If you are interested in joining our community, please apply at https://join.social.coop/registration-form.html.

Administered by:

Server stats:

488
active users

#z3

0 posts0 participants0 posts today

🌘 重載__bool__以實現符號執行
➤ 利用Python中的__bool__函數實現符號執行
philipzucker.com/overload_bool/
本文介紹瞭如何通過重載Python中的__bool__函數來實現符號執行,以及利用Z3類別記錄Python代碼中的所有路徑的技巧,進行符號執行而無需傳統的流程。
+ 這篇文章對於如何在Python中進行符號執行提供了一個有趣的觀點,讓人對Python的應用產生更多想像。
+ 通過重載__bool__函數來實現符號執行,為語言處理和程式設計帶來了新的可能性,對於技術開發有啟發意義。
#符號執行 #Python #Z3

Hey There Buddo! · Symbolic Execution by Overloading __bool__A few months ago I saw a talk on buildit, https://buildit.so/ a really neat project that achieves staged metaprogramming as a C++ library. I love the central tenets of being in a mainstream language and not requiring a modified compiler. Right on, brother. One thing I came away with was a neat trick for getting non-overloadable syntax to be overloadable.

This approach to writing a #Z3 model is not gonna cut it. (Simulating the Rogue room generation algorithm and bogged down on the very first nested loop.) Am I gonna have to write my own DSL that is compiled to Z3?

There's got to be a better way to generate the model. My mental picture is as a tree where edges correspond to computational steps in the original algorithm -- maybe I can make that explicit in some form. Write successor functions for each possible state.

I'm trying to use Z3 to solve a logic puzzle, mostly as a chance to learn more about Z3. I'm stuck on a couple of things out of the gate:

How do people usually interact with Z3 in practice? Manually writing smtlib doesn't seem like it would scale. Do people use the Z3 bindings to Python, Java, etc. or are people using libraries to generate smtlib syntax which then gets fed in?

I'm looking at the TypeScript bindings. There's a "high level" set of bindings which seems incomplete (no support for datatype declarations, for example) and a "low level" set of bindings that seems more featureful. I get the vibe that the high level bindings aren't getting a lot of usage or maintenance. Can anyone confirm or give background here? Is TS simply the wrong language to use, or am I still likely to be writing Z3 in a modern-ish way by using the low level bindings?

#z3#smt#smtlib

We have an exciting opportunity for a PostDoc
to work applying formal methods to enterprise systems: We will develop
techniques to detect faults and vulnerabilities in complex business-process-driven systems, contributing to
protecting critical workflows such as manufacturing, or logistics.

Apply until the 18th April 2024:
jobs.exeter.ac.uk/hrpr_webrecr

#Fedihire #Job #BPMN #BPL #FormalMethods #AcademicChatter #Security #ITP #Z3 #postdoc #unijobs
#ModelChecking #EnterpriseSecurity

#FlowersOnFriday In the last few days, the trees have become mostly bare, and our slide towards winter gathers momentum! Still lots of colour on shrubs and forbs, and still #flowers in the #garden though it takes a fairly tight focus in most beds! #florespondence #BloomScrolling #Alberta #z3 #October #Autumn
Geranium himalayense; Polemonium cf P. boreale Heavenly Habit; huge old Dasiphora fruticosa cv; Campanula persicifolia; Achillea millefolium