aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/codegen/ABIFunctions.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-10-13 23:29:09 +0800
committerchriseth <chris@ethereum.org>2017-11-30 00:08:44 +0800
commit5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4 (patch)
tree654eaf6e477cc6f58a6f1fe76856470142262304 /libsolidity/codegen/ABIFunctions.h
parent98c38108e8ce01888ee4dbf98a332aa5ba41f722 (diff)
downloaddexon-solidity-5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4.tar
dexon-solidity-5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4.tar.gz
dexon-solidity-5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4.tar.bz2
dexon-solidity-5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4.tar.lz
dexon-solidity-5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4.tar.xz
dexon-solidity-5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4.tar.zst
dexon-solidity-5a3dbb0269b3ff6b443a3cb4ccfc4f00eaba26b4.zip
Cleanup and overflow checks for data pointers.
Diffstat (limited to 'libsolidity/codegen/ABIFunctions.h')
-rw-r--r--libsolidity/codegen/ABIFunctions.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libsolidity/codegen/ABIFunctions.h b/libsolidity/codegen/ABIFunctions.h
index 855b2a11..2b582e84 100644
--- a/libsolidity/codegen/ABIFunctions.h
+++ b/libsolidity/codegen/ABIFunctions.h
@@ -160,7 +160,7 @@ private:
bool _fromStack
);
- /// @returns the name of the ABI decodinf function for the given type
+ /// @returns the name of the ABI decoding function for the given type
/// and queues the generation of the function to the requested functions.
/// The caller has to ensure that no out of bounds access (at least to the static
/// part) can happen inside this function.
@@ -172,6 +172,8 @@ private:
bool _forUseOnStack
);
+ /// Part of @a abiDecodingFunction for value types.
+ std::string abiDecodingFunctionValueType(Type const& _type, bool _fromMemory);
/// Part of @a abiDecodingFunction for "regular" array types.
std::string abiDecodingFunctionArray(ArrayType const& _type, bool _fromMemory);
/// Part of @a abiDecodingFunction for calldata array types.