Hacker GitHub

← All repos

kframework/c-semantics

View on GitHub ↗ ★ 333 C

Semantics of C in K

23 mentions on Hacker News by 12 people: 1 story, 22 comments · first 2015-11-30 · latest 2024-01-30

Mentions per year 23 mentions · busiest year 2017 (9)
20082026
  1. …- Cerberus Semantics https://www.cl.cam.ac.uk/~pes20/cerberus/ - https://github.com/kframework/c-semantics - https://github.com/TrustInSoft/tis-interpreter
  2. …I no longer recall>?". There was a long pause, and then... "Yes." [1] https://kframework.org/ [2] https://github.com/kframework/c-semantics/tree/master/semant...
    comment by mncharity · 2023-05-12 · in The Cerberus C semantics [pdf]
  3. https://github.com/kframework/c-semantics while you can do static analysis with this the dynamic instrumentation of UB isnfar more thorough than ubsan
  4. …Have a look at a formal description of it! (And compare to a truly simple language like e.g. LISP). https://github.com/kframework/c-semantics/tree/master/semant... In contrast some basic Lambda calculus language semantics fit 0.5 of a page…
    comment by still_grokking · 2022-11-20 · in Mildly interesting quirks of C
  5. …executable semantics for C with a GCC-like interface: http://www.kframework.org/index.php/Main_Page https://github.com/kframework/c-semantics That RV-Match builds on an open framework, does well on benchmarks (yeah skepticism here), and…
    comment by nickpsecurity · 2018-09-30 · in In-Depth: Static Code Analysis (2011)
  6. This is the same underlying tool that powers KCC and RVMatch. https://github.com/kframework/c-semantics https://runtimeverification.com/match/ Exactly what I’d hoped someone would do. Well, the first step anyway. The second step was doing…
    comment by nickpsecurity · 2018-05-01 · in KRust: A Formal Executable Semantics of Rust
  7. …check out Rosu et al's KCC: an executable, formal semantics of C that addresses undefined behavior. https://github.com/kframework/c-semantics/blob/master/README...
  8. …for C that does something like that. Runtime Verification Inc uses it for their bug-hunting tools. https://github.com/kframework/c-semantics http://fsl.cs.illinois.edu/pubs/ellison-rosu-2012-popl.pdf
    comment by nickpsecurity · 2018-03-24 · in C for All
  9. …I just find the K framework plus an executable, formal semantics for C cool as heck. :) https://github.com/kframework/c-semantics https://runtimeverification.com/match/ They also have an article comparing it to Tis-interpreter here:…
  10. …K's tools or output using C-oriented tools. [1] http://www.kframework.org/index.php/Main_Page [2] https://github.com/kframework/c-semantics [3] https://runtimeverification.com/match/1.0-SNAPSHOT/docs/benc... [4]…
  11. I believe it is "simpler" in terms of formal semantics. Formalizing standard C is way harder (see https://github.com/kframework/c-semantics ). In fact, C0 is explicitly targeted at computer scientists rather than engineers.
  12. …use of these tools allowed them to make their C semantics executable in a style similar to GCC: https://github.com/kframework/c-semantics I want this group to do one for Rust and SPARK as a reference spec for certifying compilers for…
    comment by nickpsecurity · 2017-07-26 · in Defining the Undefinedness of C (2015) [pdf]
  13. …in Maude (esp K Framework) with one an executable, formal semantics for C done like a compiler: https://github.com/kframework/c-semantics
  14. …interpreter but not the development of complete semantics for C and specifically the k framework ( https://github.com/kframework/c-semantics ). Afaik, kcc is also really good at finding undefined behavior. Regehr even wrote about it in the…
    comment by jpfr · 2017-07-05 · in Undefined Behavior in 2017
  15. I presume that KCC in question is https://github.com/kframework/c-semantics , i.e., a formalization of C programming language in a form suitable for evaluation. It indeed can detect undefined behaviour, though last time I played with it (a…
  16. …runs in a framework on top of Maude rewrite engine. http://www.kframework.org/index.php/Main_Page https://github.com/kframework/c-semantics http://fsl.cs.illinois.edu/FSL/papers/2015/hathhorn-ellison-...
    comment by nickpsecurity · 2017-06-15 · in System programming in Rust: beyond safety
  17. …predicatable. A formal semantics of the language gives warnings whenever undefined behavior occurs. https://github.com/kframework/c-semantics
  18. …Then you get DDC for free plus a way to equivalence check reference compiler for certain features. https://github.com/kframework/c-semantics http://www.kframework.org/index.php/Main_Page
    comment by nickpsecurity · 2017-05-16 · in Two years of Rust
  19. …you verifying things about your application. If it even compiles, you have no undefined behavior. https://github.com/kframework/c-semantics On concurrency side, it's built on top of Maude tool that an inexperienced student was able to use…
    comment by nickpsecurity · 2017-04-01 · in A semantic model for a substantial fragment of C
  20. …suboptimal, but canonical) implementation. A good example of such a thing would be something like https://github.com/kframework/c-semantics
    comment by sklogic · 2016-03-01 · in The Lisp Curse (2011)
  21. …for C [0,1] and other mainstream languages [2] now. [0] http://robbertkrebbers.nl/thesis.html [1] https://github.com/kframework/c-semantics [2] http://www.kframework.org/index.php/Projects
  22. …formalize variadic function, float, bit field, setjmp/longjmp. All of them are formalized in KCC. https://github.com/kframework/c-semantics
    comment by sanxiyn · 2015-11-30 · in The C standard formalized in Coq