Comments (2)
I updated jrx.c and jrx.h (see attached) locally to change a few of the buffer variables to unsigned and it resolves this issue. I'm not entirely sure why (spent a bit of time trying to narrow this down), but the match-test.spicy file (also attached) works with this change. Also note, this now causes the build to warn about converting between pointers with different signed attributes (I tried to resolve this as well, but it requires massive changes to buffer pointers throughout the code).
jrx.c.txt
jrx.h.txt
match-test.spicy.txt
from hilti.
Diffs for jrx.c and jrx.h attached.
from hilti.
Related Issues (20)
- Add more comparision operators for enum labels
- Add syntax to test for a range in a switch statement
- &convert in a bitfield HOT 1
- imported types : hooks not executed HOT 2
- [BinPAC++] Type of 'deref' in bytes iterator
- Use __hlt_bytes_find_bytes to translate '&until' spicy attribute ? HOT 4
- use-after-free bug on container timeout
- spicyc segmentation fault when list item type not defined
- hilti-build: Function already declared error
- tests/hilti/tuple/wrong-index.hlt segmentation fault
- tests/spicy/double/parse.spicy fails because doubles are incorrectly decoded
- tests/spicy/unit/wrong-id-3 fails because of unexpected "Aborted" message
- spicyc segmentation fault on missing argument for nested unit in list
- spicy-dump prints signed int instead of unsigned int
- UTF8 parsing problem
- Setting the %bitorder globally for the module has no effect
- Hilti source build plugin error HOT 5
- Compiling on Debian 9 HOT 1
- Comparing an integer to an enum label always returns that they are equal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hilti.