1641 Commits
Author SHA1 Message Date
partouf 84e82b1fd0 readonly 2022-02-11 17:28:38 +01:00
Patrick Quist 02fb7b93ac Merge branch 'main' into externalparsers 2022-02-11 16:36:38 +01:00
Michael Debertol 3f695c9cc1 Add Dart support (#3352) 2022-02-11 16:19:16 +01:00
Rubén Rincón Blanco 7031a6ef7a Move static/load-save.js to TypeScript (#3345) 2022-02-11 16:09:33 +01:00
Jeremy Rifkin 74efcfa754 Preprocessor output panel (#3330) 2022-02-11 15:42:41 +01:00
Steve bb1f491b58 Implement asm-parser for dotnet (#3334) 2022-02-11 15:22:08 +01:00
Rubén Rincón Blanco ed90053a4c Fixes Executor pane for Python (+ possibly more) (#3354)
* Fixes executor pane for Python

It possibly also fixes it for more languages that behave like it.

* Typerrror has .message
2022-02-11 14:57:02 +01:00
RabsRincon 024787754e Fix Linter error 2022-02-11 13:34:17 +01:00
TimmyTechTVandPatrick Quist e91d5a0092 Static Analysis tool update (#3324)
* Update microsoft-analysis-tool.js

Condensing const code

Co-authored-by: Patrick Quist <partouf@gmail.com>
2022-02-10 21:45:07 -06:00
Yusuf Bham 41853b4a8c Fixes check for empty request body (#3350)
Check `req.body` being empty in addition to `source` being `undefined`.

Closes #3349
2022-02-10 23:43:16 +01:00
Patrick Quist 2729ae98ed Update external-parser.interface.ts 2022-02-08 10:34:15 +01:00
Patrick Quist 660a4e966b Update base.ts 2022-02-08 10:19:43 +01:00
Patrick Quist 44c3c51fc8 Update external-parser.interface.ts 2022-02-08 10:18:22 +01:00
Patrick Quist 797231956a Update utils.ts 2022-02-08 10:17:39 +01:00
Patrick Quist 20e022ed7c in case of win32 binary mode, use the binary parser and associate obj filenames even if theres no lineno info (#3341) 2022-02-07 22:48:01 +01:00
Jeremy Rifkin 59ab2e1d03 C/C++ Turn off filtering when -E is provided. Suggestion for upstream issue #1380. (#3320) 2022-02-04 18:38:24 +01:00
Marc Poulhiès ef74c3aa0e Ada: Fix intel filter active even for cross compilers (#3318)
The property was incorrectly hardcoded in the AdaCompiler class.
As GNAT does not have an argument-parser, we can't rely on autodetecting the
-masm support. The easiest way is to simply define the intelAsm property for
GNAT compilers known to support it.

Fixes #3310

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-02-03 00:24:45 +01:00
Patrick Quist c28d535c1e Changes needed to make dotnet work with nsjail (#3307) 2022-02-01 08:39:55 +01:00
TimmyTechTV a07a42b7a3 Adding Static Analysis to tooling (#3306)
* Create microsoft-analysis-tool.js
2022-01-31 21:40:50 -06:00
Mats Larsen 9b890b1656 Refactor handling of Assembly Documentation Providers (#3247) 2022-01-31 14:05:21 +01:00
Marc Poulhiès c4e76cd7a4 Add GNAT cross compiler from Alire project (#3294)
Add new adarts compiler properties used to set the RTS (if needed) to be used by
GNAT. This is needed as the cross compilers come with several RTS and you must
provide one.

Use Alire (https://alire.ada.dev/) cross compilers for ARM32 and RISC-V 64.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-01-30 10:49:13 -06:00
Mats Larsen 7c966783ac Fix lib/compilers/dotnet lint error 2022-01-30 14:47:55 +01:00
Steve 0a3aadbe80 Add support for C#, F# and Visual Basic (#3168) 2022-01-29 16:16:27 +01:00
partouf c1f6874307 boop 2022-01-28 21:00:26 +01:00
Marc Poulhiès b83dafac61 Add comment for GNAT handling of command line options and enable strings (#3252)
Add some comments around the command line options handling of GNAT.

Add strings tool for Ada.

Also enable binary and execution in the default config.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-01-25 08:54:42 +01:00
Marc Poulhiès 1d8cae9562 Fix strings tool calling wrt binary/executable targets (#3251)
If only binary output is selected without the execution, strings would complain
about missing file.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-01-24 21:10:52 -06:00
Mats Larsen 1406669452 Move BaseFormatter into /lib/formatters (#3250) 2022-01-24 21:07:52 -06:00
partouf 4f8f3ad80e fixes dontMaskFilenames, add external parsingtime 2022-01-23 00:53:32 +01:00
partouf e74a57c935 bugfix 2022-01-22 22:41:07 +01:00
partouf 753550d72a working version 2022-01-21 18:33:49 +01:00
partouf a408ffca46 sandbox instead of exec 2022-01-21 11:31:27 +00:00
partouf 9da940154c lintfixes 2022-01-21 03:02:54 +00:00
partouf 40cece5081 objdumpandparse with extparser, doesnt work yet for unknown reasons 2022-01-21 02:57:38 +00:00
partouf 36e1d31685 map 2022-01-20 01:07:10 +00:00
partouf 30fb92e228 work in progress 2022-01-19 23:55:29 +00:00
Matt Godbolt 8bd3945bbb Upgrade eslint-plugin-unicorn, and fix issues it ponted out 2022-01-18 07:57:57 -06:00
Luca Pizzini ee2370fbc0 Fix bug: /compile endpoint API errors should be 400s (#3246)
closes #2560
2022-01-17 14:04:36 -06:00
Elektron72 bf9d2334b9 Add AVR assembly documentation (#3218) 2022-01-07 16:30:56 +01:00
Marc Poulhiès 8679767220 Fix parsing assembler from binary when templates are used (#3238)
When compiling to binary and with the demangling enabled, the assembler parser
was not correctly matching the "labels". The labelRe regex is tailored from
matching against the real symbol names, before any demangling. In the
binary+demangle context, we rely on objdump doing both at once, feeding our
parser with demangled names.

Make the labelRe match anything of the form:
00000000123af    <every thing here is the label>:

fixes #3235

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2022-01-07 09:07:37 +01:00
RabsRincon 91e4f3702a Make sure asm-raw behaves on compilation errors
Closes #3198
2021-12-31 13:23:22 +01:00
Mats Larsen da1a3ab7dc Make it possible to share types in /types directory between front and backend (#3211)
* Make it possible to share types in /types directory between front and backend

* Add new tsconfig files to gh-dist-files
2021-12-28 15:53:34 +01:00
Gregory Anders 7f0bc32ae4 API: Change 'filters' option to be additive (#3206) 2021-12-28 15:35:46 +01:00
Marc Poulhiès 86dd8f7814 Ada: new pane for GNAT Debug Tree (#3190)
Support for the GNAT Tree emitted by `-gnatdt` on stdout.
The pane is also available in the diff tool.

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-28 15:35:11 +01:00
Elektron72 5a350691bb Add assembly documentation for 6502 (#3210)
This PR adds assembly documentation for the MOS 6502 and WDC 65C02 instruction sets, which are output by cc65.
2021-12-23 16:34:08 +01:00
Patrick QuistandMatt Godbolt 6e79e098c4 Minimal backend typescript support (#3207)
* minimal ts support

Co-authored-by: Matt Godbolt <matt@godbolt.org>
2021-12-22 20:44:51 +01:00
Marc Poulhiès d00878f2b8 Fix missing gimple and original tree dump in GCC dump
Both gimple and original dumps are missing because CE currently only checks for
dumps coming from a pass advertised in -fdump-passes.
Fix this by faking 2 lines as coming from -fdump-passes.

fixes #3180

This is a fixed version of c8b25ee53b (#3183)

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-15 22:26:41 +01:00
partouf e003f11122 Revert "Create microsoft-analysis-tool.js (#3172)"
This reverts commit 819e18a045.
2021-12-15 21:01:54 +00:00
partouf 0de5dd9943 Revert "Fix missing gimple and original tree dump in GCC dump (#3183)"
This reverts commit c8b25ee53b.
2021-12-15 19:35:31 +00:00
timmy-ms 819e18a045 Create microsoft-analysis-tool.js (#3172) 2021-12-15 19:34:02 +01:00
Marc Poulhiès c8b25ee53b Fix missing gimple and original tree dump in GCC dump (#3183)
Both gimple and original dumps are missing because CE currently only checks for
dumps coming from a pass advertised in -fdump-passes.
Fix this by faking 2 lines as coming from -fdump-passes.

fixes #3180

Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
2021-12-15 19:25:16 +01:00