mirror of
https://github.com/GaloisInc/macaw.git
synced 2025-01-08 15:39:44 +03:00
Merge branch 'master' of github.com:GaloisInc/macaw
This commit is contained in:
commit
e0417a09a1
@ -10,7 +10,7 @@ executable make_bsd_syscalls
|
|||||||
build-depends:
|
build-depends:
|
||||||
base >= 4,
|
base >= 4,
|
||||||
bytestring,
|
bytestring,
|
||||||
language-c <= 0.5.0,
|
language-c >= 0.6,
|
||||||
lens,
|
lens,
|
||||||
pretty,
|
pretty,
|
||||||
containers,
|
containers,
|
||||||
@ -23,7 +23,7 @@ executable make_linux_syscalls
|
|||||||
build-depends:
|
build-depends:
|
||||||
base >= 4,
|
base >= 4,
|
||||||
bytestring,
|
bytestring,
|
||||||
language-c <= 0.5.0,
|
language-c >= 0.6,
|
||||||
lens,
|
lens,
|
||||||
pretty,
|
pretty,
|
||||||
containers,
|
containers,
|
||||||
|
@ -144,7 +144,7 @@ typeToArgType typ =
|
|||||||
PtrType _ _ _ -> WordArgType
|
PtrType _ _ _ -> WordArgType
|
||||||
ArrayType _ _ _ _ -> WordArgType
|
ArrayType _ _ _ _ -> WordArgType
|
||||||
FunctionType _ _ -> unhandled
|
FunctionType _ _ -> unhandled
|
||||||
TypeDefType (TypeDefRef _ (Just typ) _) _ _ -> typeToArgType typ
|
TypeDefType (TypeDefRef _ typ _) _ _ -> typeToArgType typ
|
||||||
where
|
where
|
||||||
unhandled = error ("Unhandled type: " ++ show (pretty typ))
|
unhandled = error ("Unhandled type: " ++ show (pretty typ))
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@ typeToArgType typ =
|
|||||||
PtrType _ _ _ -> WordArgType
|
PtrType _ _ _ -> WordArgType
|
||||||
ArrayType _ _ _ _ -> WordArgType
|
ArrayType _ _ _ _ -> WordArgType
|
||||||
FunctionType _ _ -> unhandled
|
FunctionType _ _ -> unhandled
|
||||||
TypeDefType (TypeDefRef _ (Just typ) _) _ _ -> typeToArgType typ
|
TypeDefType (TypeDefRef _ typ _) _ _ -> typeToArgType typ
|
||||||
where
|
where
|
||||||
unhandled = error ("Unhandled type: " ++ show (pretty typ))
|
unhandled = error ("Unhandled type: " ++ show (pretty typ))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user