Anders-T | 0x80.eth
aa78a5ff17
Map solidity EVM assembly to lines of code ( #3545 )
...
* taking a snapshot of progress so far - generated sources are getting processed, and some fairly basic asm line assigning, but needs a second pass to rectify the issue of an asm instruction being attributed to multiple lines of code
* fixed silly bug in instruction line thing
* giving tags in generated sources human readable names
* generate human friendly tag names for tags in non-generated code, using AST to figure out which function we're in
* restoring most of the original formatting, and got constructor etc working too
* fixing linting errors
* add some comments
2022-04-24 02:18:35 +02:00
RabsRincon
1175b39179
Fix some ast types
2022-04-23 23:50:51 +02:00
Jeremy Rifkin
16b071b9f0
Updated x86 docenizer to read adjacent tables ( #3541 )
...
* Updated x86 docenizer to read adjacent tables
* Added regression test
2022-04-23 22:04:09 +02:00
Mats Larsen
ef8f36df4c
Convert lib/sources to TypeScript ( #3526 )
2022-04-18 16:48:00 +02:00
Alexey Shekhirin and Rubén Rincón Blanco
2001d1b65e
Add support for Solidity ( #3507 )
...
* feat(compilers): Solidity support MVP
* don't concat userOptions in optionsForFilter
* fixes after review
* Update etc/config/solidity.defaults.properties
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es >
Co-authored-by: Rubén Rincón Blanco <ruben@rinconblanco.es >
2022-04-14 02:33:13 +02:00
Patrick Quist
17c01cf349
Fix for msvc library issue ( #3501 )
...
* fetch remote libraries on startup and put into client-options
* support remote libs in executor and conformanceview
2022-04-09 17:09:13 -05:00
Matt Godbolt
0487027dc0
Reorder user args first ( #3496 )
...
Rationale is "user args", filename, then autogenerated.
Closes #3492 . Hopefully doesn't introduce another issue.
2022-04-04 21:55:28 -05:00
Patrick Quist
569df66502
bugfix library matching icx ( #3484 )
2022-04-02 16:47:06 -05:00
Rubén Rincón Blanco
48c95e849d
Adds overridable orderArguments function ( #3489 )
...
Closes #3488
2022-04-02 23:26:11 +02:00
Jeremy Rifkin
63ca451388
Fix #3465 ( #3466 )
2022-04-01 07:41:17 -05:00
Omar Awile
bb7b662db2
Moved inputFilename forward in compiler arguments ( #3474 )
...
When compiling to binary the order of source files and linked libaries
can matter for some compilers (and linkers). Putting the input file
first avoids linking issues in these cases.
2022-03-31 07:22:53 -05:00
Matt Godbolt
7c03aaeea2
Fix invalid typeof expression ( #3454 )
2022-03-21 23:52:20 -05:00
Matt Godbolt
3fba855d38
Some fixups for typescript ( #3452 )
2022-03-21 23:21:57 -05:00
ODuzhar and Alex D
df3042f29b
Added TypeScript Native compiler ( #3448 )
...
* progress
* added some config
Co-authored-by: Alex D <duzhar@gmail.com >
2022-03-21 22:14:03 -05:00
Jeremy Rifkin
419d386bd9
Added keyword-spacing eslint rule and fixed instances of inconsistent spacing ( #3428 )
2022-03-07 22:38:58 -06:00
Jeremy Rifkin
aa516e36df
Add llvm-symbolizer to ASAN_SYMBOLIZER_PATH ( #3425 )
2022-03-07 11:13:06 +01:00
Matt Godbolt
181e2c2a08
Construct one FormattingHandler for all compilers ( #3417 )
...
Not my greatest design moment, but putting it in the CompilationEnvironment
is a compromise between creating the handler in the compilation create()
and passing it into all the compilers' constructors.
2022-03-01 05:56:20 -06:00
Matt Godbolt
dc06a85242
Handle lines with no opcodes ( #3416 )
...
Fixes #3276
2022-03-01 05:55:45 -06:00
Jeremy Rifkin
af4a55ed5e
Fix preprocessor filtering with url #includes ( #3398 )
2022-02-26 13:34:54 -06:00
Juan José
2cf941d1e5
Move Prometheus metrics server into a separated file ( #3391 )
...
This will make the code a bit more readable and the Prometheus server more easy to maintain.
2022-02-26 13:33:46 -06:00
Rubén Rincón Blanco
48eee26d2c
Group some files to their own folders ( #3384 )
...
* Group some files to their own folders
In etc/scripts/, added disasms/, docenizers/, and util/ folders
In lib/, added mapfiles/, and parsers/ folders (+moved google.js to
shortener)
In static/, added widgets/ folder
Added cypress folder to .gitignore
* Address Matt's PR reviews
* Move new Pane renaming to folder
2022-02-22 00:18:21 +01:00
Patrick Quist
c3bba29e0b
Discovered compiler tool fixes ( #3377 )
2022-02-17 19:50:09 +01:00
Patrick Quist
0bc22bb148
when no files are supplied, no need to do anything special for them either ( #3371 )
2022-02-17 16:50:02 +01:00
RabsRincon
53a17f5b69
Please the liner
2022-02-13 23:02:02 +01:00
Michael Debertol
f0f744d072
Add more dart versions ( #3361 )
2022-02-13 20:06:51 +01:00
Michael Debertol
c432d624b9
add the formatter for dart ( #3362 )
2022-02-13 20:05:03 +01:00
Jeremy Rifkin
88bcb4f41c
Show preprocessor output even if main compilation fails ( #3363 )
2022-02-13 16:41:51 +01:00
Rubén Rincón Blanco
045c68d1bc
Add strict tsc flag for the backend ts code ( #3355 )
2022-02-12 02:41:24 +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
TimmyTechTV and Patrick 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
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
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
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