Spinroot

A forum for Spin users

You are not logged in.

#1 Courses » New User Guide for the Cobra Tool » 2024-11-30 22:21:44

spinroot
Replies: 0

a new user guide for the Cobra tool is available as PDF,
with detailed descriptions of Cobra's options and examples.
you can volunteer to be a reviewer for the final draft (december 2024)

#2 Re: Courses » Caltech course CS 118 » 2024-11-30 22:20:15

The next Caltech course CS118 will be held Jan-Mar 2025, but you can take pretty much the same material in the online course available through the spinroot webpage

#3 Spin Symposia » Spin 2025 Symposium (Canada) » 2024-11-30 22:15:49

spinroot
Replies: 0

https://spin-web.github.io/SPIN2025
The 31st International Symposium on Model Checking Software will be held May 7-8 2025 in Hamilton, Canada, co-located with ETAPS-2025. The Symposium is organized by Kristin Yvonne Rozier and Gidon Ernst.

#4 Re: Announcements » Cobra Version 4.8 » 2024-11-30 22:11:09

Available on github (nimble-code) or https://spinroot.com/cobra

#5 Announcements » Cobra Version 4.8 » 2024-11-30 22:10:02

spinroot
Replies: 1

A significant extension of Cobra's capabilities, with many new predefined query libraries, options for statistical analysis of code and finding code duplicates and cloned code segments.
A new user manual is currently in review -- if you'd like to help review the draft, send a message.

#6 Announcements » Cobra Version 4.4 » 2023-04-07 20:06:01

spinroot
Replies: 0

The latest release of the interactive static source code analyzer Cobra is now available on Githib.
Much new functionality and improvements. Give it a try.

#7 Spin Symposia » Spin 2023 in Paris, France » 2022-11-13 19:45:36

spinroot
Replies: 0

The next Spin Symposium will be held April 26-27, 2023, co-located with ETAPS 2023.
For more information:
   https://easychair.org/cfp/SPIN-2023
or
   https://spin-web.github.io/SPIN2023/

#8 Announcements » Cobra Version 4.2 » 2022-11-13 19:43:25

spinroot
Replies: 0

The current version of the Cobra static analyzer is now on Github, and includes a new GUI, iCobra.
Many new query libraries and expanded capabilities to work with search pattern sets.

#9 Re: Courses » Caltech course CS 118 » 2022-11-13 19:41:04

The Caltech course CS118 is offered again this winter-term (Jan-Mar 2023).

#10 Spin Symposia » Spin 2022 Symposium » 2022-04-02 22:06:33

spinroot
Replies: 0

The 28th International Spin Symposium will be held May 21-22, 2022, in Chicago Illinois, organized by Owolabi Legunsen and Grigore Rosu.

Papers were due: March 25, 2022
Author notifications: April 29, 2022
Camera ready papers: May 9, 2022

#12 Re: General » The syntax of PROMELA » 2022-03-05 19:24:30

the .(goto) links are generated by the parser. e.g. to encode break statements etc

#13 Re: General » Sub-sequences » 2022-03-04 18:03:49

correct -- the d_step sequences are converted into a single transition.
you can see the automata structure that is used with: $ ./pan -d

#14 Re: General » The syntax of PROMELA » 2022-03-04 18:02:51

they should be basic statements from the model
so it's mostly Promela syntax -- d_steps are special though
since they are converted into a single transition

#15 Re: General » Identifying channels » 2022-03-01 19:16:33

a channel name is a variable that can hold the id of an instantiated channel
the same channel name could, for instance, be reassigned the id of different channels
at different points in a run
for a given instantiated channel, the id number does not change, but a channel variable
can hold any channel id at different points in it's use

#16 Re: General » Sub-sequences » 2022-03-01 19:13:45

where are they marked as sub-sequences?
can you give an example?

#17 Re: General » State Numbers » 2022-03-01 19:12:59

proctypes and never claims are converted into omega-automata, which have numbered states...

#18 Re: General » The syntax of PROMELA » 2022-03-01 19:12:16

not sure what you mean by "the sublanguage that can occur in traces"
you mean the format and syntax of error traces?

#19 Re: General » Obtaining the true model that goes to pan » 2022-03-01 19:10:04

yes, you can run the preprocessor manually (call gcc -E -x c model.pml)
just like spin does internally (main.c line 106)

#20 Re: General » The roles of any_expr and expr in grammar » 2022-03-01 19:08:40

it has to do with the implementation of partial order reduction
where we want to make it impossible to negate expressions
that can be used to optimize the verification

#21 Re: General » The -I flag is not documented in Spin online reference » 2022-03-01 19:06:45

the output of the -I flag is not a valid Promela model -- it's mostly a debugging aid to see how inlines and macros are expanded internally

#22 Re: General » The precedence between LTL operators and Boolean connectives » 2022-03-01 19:05:08

the temporal operators have lower precedence than the arithmetic operators, but higher than logical or or and
X is highest, then U then [] and <>
you can see this in the grammar description in spin.y
(sorry for the slow response!)

#23 Re: General » Swarm verification on ispin » 2021-05-31 18:24:17

typically the only feedback from a run is some statistics on number of states explored and depth reached etc.
for a swarm run it would be impractical to list all of that, so the main feedback you get is if violations were found (leading to one or more trail files) -- in which case you can use the standard options to rerun the error trail
so that is the expected result for a swarm run (imagine if you have 10,000 parallel runs -- the only thing that matters is really if any one of them found a violation...)

#24 Re: General » Swarm verification on ispin » 2021-05-28 21:14:44

thanks for checking this out.  somehow the shell command fails to expand the * properly, which is unexpected.
I've updated the ispin.tcl source on github to include the correction you propose (but it tries that only if the regular version with * failed).  it may be a specific issue on Windows/cygwin system -- should not need the change on Linux or Macs, but I could be wrong
thanks for reporting it and solving it!

#25 Re: General » Swarm verification on ispin » 2021-05-27 17:41:37

that's odd -- if the file is in fact created -- could you go outside ispin to a shell prompt
and then manually execute "sh ./leader*.swarm" ?  if that doesn't work, it may point
to the real problem -- if it does work, I've no idea what could cause the ispin call to fail....

Board footer

Powered by FluxBB