mschwager

Results 89 comments of mschwager

This is perfect! Moving forward here would look something like: - Gather all the commands necessary to build these binaries from scratch on Windows - Create a new Github Action...

> I updated the comment above because we found a fix for the dllctypes_stub.so issue and were able to get binaries on Cygwin Amazing! Nice work! The only `End_of_file` I...

It looks like `tree-sitter` errors out in both cases, they're just different errors: ``` $ npx tree-sitter parse test.rb (ERROR [0, 0] - [4, 0] (constant [0, 6] - [0,...

> @mschwager what's motivating you to want a parse error in this case? I don't have strong feelings on the type of error, just that we should avoid silently failing...

There have been a few experiments like this in the past: - Jsonnet: https://github.com/returntocorp/semgrep/pull/2428 - Jinja: https://github.com/returntocorp/semgrep-rules/pull/584 YAML itself also allows this to some extent with anchors and aliases: [YAML...

Ahh, nice I see there's already an issue for YAML anchors: https://github.com/returntocorp/semgrep/issues/3677. We should definitely support this YAML functionality. My naive guess is that we just have to enable this...

Hi there, I believe I am also encountering this bug. I'm investigating the following instruction: ``` 00402b81 8b 30 MOV ESI,dword ptr [EAX] ``` `getOperandRefType` is returning a `RefType` of...

@ghidra1 yes mine is 32-bit x86. Here's the file information if that helps: ![2022-10-11-152533_426x316_scrot](https://user-images.githubusercontent.com/1724818/195201633-4e4459a8-f41b-4422-bc0d-6e279e2f88b7.png) Is there anything else I can provide to help reproduce? Unfortunately I cannot provide the binary...

Huh, that is weird. Sounds like some kind of race condition. Is there some caching going on with refTypes that's leading to race-y or otherwise non-deterministic behavior?

I think it would be useful to apply consistent behavior to all supported languages. It seems we have a few other open issues for this, I'll include them here so...