MCPcopy Create free account
hub / github.com/avast/retdec / get1ByteArray

Method get1ByteArray

src/utils/byte_value_storage.cpp:726–733  ·  view source on GitHub ↗

* Get integer (1B) array located at provided address using the specified * array size and endian (or default file endian) * * @param address Address to get integer array from * @param res Result integer array * @param size Integer array size (how many items are to be read) * @param e Endian - if specified it is forced, otherwise file's endian is used * * @return Status of operation (@c tru

Source from the content-addressed store, hash-verified

724 * @return Status of operation (@c true if all is OK, @c false otherwise)
725 */
726bool ByteValueStorage::get1ByteArray(
727 std::uint64_t address,
728 std::vector<std::uint64_t>& res,
729 std::size_t size,
730 Endianness e) const
731{
732 return getXByteArray(address, 1, res, size, e);
733}
734
735/**
736 * Get integer (2B) array located at provided address using the specified

Callers 2

getAsmInstructionHexMethod · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.64