ETISS 0.8.0
Extendable Translating Instruction Set Simulator (version 0.8.0)
|
#include "etiss/jit/types.h"
#include <iostream>
#include <string>
Go to the source code of this file.
Namespaces | |
etiss | |
Page Table Entry (PTE) defines the composition of Page Frame Number (PFN) and relavant flags. | |
etiss::plugin | |
etiss::plugin::gdb | |
etiss::plugin::gdb::hex | |
Functions | |
uint8_t | etiss::plugin::gdb::hex::fromHex (char c) |
convert a character to the hex value it represents(0-15) More... | |
char | etiss::plugin::gdb::hex::toHex (uint8_t l) |
converts the lower 4 bits to a representing char More... | |
uint8_t | etiss::plugin::gdb::hex::toByte (char h, char l) |
converts 2 hex characters to a byte More... | |
uint8_t | etiss::plugin::gdb::hex::toByte (std::string hex, size_t pos=0) |
converts 2 characters from a hex string to one byte More... | |
std::string | etiss::plugin::gdb::hex::fromByte (uint8_t byte) |
converts a byte to a hex string (without "0x" prefix); More... | |
void | etiss::plugin::gdb::hex::fromByte (std::string &append, uint8_t byte) |
converts a byte to hexadecimal representation and appends it to the passed string More... | |
std::string | etiss::plugin::gdb::hex::fromBytes (uint8_t *buf, size_t length) |
converts a sequence of bytes to a representing hex string (without "0x" prefix) More... | |
template<typename INT > | |
void | etiss::plugin::gdb::hex::fromInt (std::string &string, INT val, bool isLittleEndian) |
converts an integer type variable to a hexadecimal representation with the given endianness More... | |
template<typename INT > | |
INT | etiss::plugin::gdb::hex::toInt (const std::string &string, bool isLittleEndian, size_t pos=0) |
convert a string of length (pos + sizeof(INT)) or larger to the represented value. More... | |
template<typename INT > | |
INT | etiss::plugin::gdb::hex::tryInt (std::string &string, unsigned &pos, size_t maxlength=sizeof(INT) *2) |
parses a hex string and returns the result. More... | |
Copyright 2018 Infineon Technologies AG This file is part of ETISS tool, see https://github.com/tum-ei-eda/etiss. The initial version of this software has been created with the funding support by the German Federal Ministry of Education and Research (BMBF) in the project EffektiV under grant 01IS13022. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file Hex.h.