Lauri Vasama
ba58ec8edb
Add import-clift-types pipe
2024-05-29 15:43:35 +02:00
Lauri Vasama
a8e2bb8c48
Add ImportModelType pass, register in clift-opt
2024-05-29 15:43:35 +02:00
Lauri Vasama
c0fd99e0c2
Restrict the dialects available in clift-opt
2024-05-29 15:43:35 +02:00
Alessandro Di Federico
0c212b66d9
Relicense to MIT
2024-02-29 17:03:36 +01:00
Alessandro Di Federico
011d04eaaa
Drop obsolete tools
2024-02-09 09:03:34 +01:00
Giacomo Vercesi
a09a4ab2bf
Adapt switch to detail::GenericStringMap
...
This commit adapts the changes introduced in revng that generalize
`FunctionStringMap`.
2024-01-26 19:13:58 +01:00
Alessandro Di Federico
f3d6bbb047
s/ThePTMLCBuilder/B/g
2023-08-23 16:40:54 +02:00
Alessandro Di Federico
f81e9d615b
dumpModelToHeader: introduce struct for options
...
This commit also introduces a new option for emitting code right after
the `#include` section.
2023-08-23 16:37:39 +02:00
Andrea Gussoni
ac6139bc0f
clift: import mlir::clift dialect
2023-07-07 17:48:13 +02:00
Andrea Gussoni
4ae0916934
clift: clift-opt binary
2023-07-07 17:48:09 +02:00
Djordje Todorovic
286eb4d734
c-backend: Introduce PTMLCBuilder
...
This will be used to generate plain C.
2023-06-09 15:40:23 +02:00
Giacomo Vercesi
a4ad571e61
rcc: Fix typos
...
Fix the typos detected by `codespell`
2023-05-11 10:04:32 +02:00
Alessandro Di Federico
0f2b35a632
Adopt new InitRevng signature
2023-04-28 13:54:12 +02:00
Pietro Fezzardi
97883844d3
Fix initialization of FunctionTags
2023-01-17 11:11:46 +01:00
Massimo Fioravanti
335d402245
Change signatures to forward metadata cache.
2022-11-22 12:27:02 +01:00
Pietro Fezzardi
73210ab4ae
Adopt TupleTreeReference caching
2022-10-31 09:08:17 +01:00
Alessandro Di Federico
48656584ce
Drop PrintStackTraceOnErrorSignal
...
InitLLVM, and therefore, InitRevng does that.
2022-10-28 16:03:15 +02:00
Massimo Fioravanti
f1852166ab
Pipeline: reworked cpp container types
2022-10-03 14:26:06 +02:00
Giacomo Vercesi
7e80a509ab
Sync rcc v2 fixes
2022-09-29 17:34:10 +02:00
Massimo Fioravanti
370b081c0e
Moved kinds to kinds namespace
2022-08-25 17:09:15 +02:00
Massimo Fioravanti
34a0356ca3
Changes to support FunctionStringMap
...
FunctionStringMap now requires a TupleTree<model::Binary> rather than a
model::Binary, users in revng-c are now changed to support that.
2022-05-25 15:46:12 +02:00
Pietro Fezzardi
42b52bb22b
Add DecompiledYAMLToCPipe
2022-05-11 15:21:39 +02:00
Pietro Fezzardi
540d5d8db3
Add new tool revng-decompiled-yaml-to-c
2022-05-11 15:20:30 +02:00
Pietro Fezzardi
13019a4290
Add -t TargetFunction option to revng-decompile
...
This new option allows to decompile only a single function
2022-05-11 15:19:34 +02:00
Pietro Fezzardi
0e4681dc38
Add -m option to revng-decompile to override Model
2022-05-11 15:19:34 +02:00
Pietro Fezzardi
fc40f646a4
Replace CBackendPass with revng-decompile tool
...
This commit replace the old CBackendPass with a standalone tool:
revng-decompile.
This pass at the moment runs the three stages of decompilation:
- CFG restructuring
- Beautify GHAST
- C Code generation
2022-05-11 15:19:25 +02:00
Pietro Fezzardi
56de892efb
Add HelpersToHeaderPipe
2022-05-11 12:42:38 +02:00
Pietro Fezzardi
7e926db200
Add ModelToHeaderPipe
2022-05-11 12:36:32 +02:00
Giacomo Vercesi
ab125b35b0
Fix License headers
...
Change company name to "rev.ng Labs Srl" in all license headers
to reflect changed company name and legal status
Add missing license headers to files that didn't have one
2022-04-19 12:17:59 +02:00
Alessandro Di Federico
1dcce82dfc
Adopt cmake-format
2022-03-18 12:32:44 +01:00
Alvise de Faveri
1a39994759
Add HelpersToHeader pass
2022-02-10 17:12:56 +01:00
Alvise de Faveri
9a4da22e8c
Move ModelToHeaderMain to a new tools/ folder
2022-02-10 17:12:56 +01:00