-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
I'm trying to write a decompiler using retypd. If I understand those python source code correctly, existing frontends (retypd-ghidra-plugin and gtirb-ddisasm-retypd) only generate function types (arguments and return value) for each function.
I also generated type constrains for local variables and registers. Is it possible to get the types of these variables (these v_xxx
in the following example contrains)?
"memset": [
"memset.in_0 <= v_1131",
"v_5 <= memset.in_2",
"bool <= v_1132",
"memset.in_0 <= memset.out",
"v_1135 <= v_1134.store.σ1@0*[nobound]",
"v_1135 <= memset.in_0.store.σ1@0",
"v_236 <= memset.in_2",
"bool <= v_1136",
"v_1135 <= v_1134.store.σ1@0*[nullterm]",
"v_1135 <= memset.in_0.store.σ1@1",
"v_1135 <= v_1134.store.σ1@-3",
"v_1135 <= memset.in_0.store.σ1@2",
"v_416 <= memset.in_2",
"bool <= v_1137",
"v_1135 <= v_1134.store.σ1@-4",
"v_1135 <= memset.in_0.store.σ1@3",
"v_161 <= memset.in_2",
"bool <= v_1138",
Thanks in advance. Retypd is really powerful in type recovery. I'm quite grateful that it is open source.
Metadata
Metadata
Assignees
Labels
No labels