Open in app

Sign In

Write

Sign In

Solidity Foundry Opcodes Security
Solidity Foundry Opcodes Security

286 Followers

Home

About

Pinned

Learn Solidity

Solidity Tutorial Public | Internal | External | Private Functions in Solidity Public | Internal | External | Private Functions II in Solidity Msg.Sender Account | Contract Account in Solidity Pure and View Functions in Solidity Arrays in Solidity Virtual Override functions in Solidity Interface in Solidity Interface in Solidity…

Solidity

1 min read

Learn Solidity
Learn Solidity
Solidity

1 min read


3 days ago

Learn EVM Opcodes X

We focus on the relationship among SLOAD opcode and YUL’s offset and slot codes. We will learn how to use the Sload opcode and YUL’s offset and slot codes together. We have 4 values . Once our values are uint256, they cover one slot in the storage. We use…

Solidity

2 min read

Learn EVM Opcodes X
Learn EVM Opcodes X
Solidity

2 min read


6 days ago

Learn EVM Opcodes IX

We focus on SLOAD Opcode and how storage works in EVM. SLOAD Storage is the area where we store state variables on EVM. It is not a temporary space like Memory. This space has (2²⁵⁶)-1 slots, each slot is 32 bytes (256 bits). If a state variable is uint256, 1 slot…

Sload

3 min read

Learn EVM Opcodes IX
Learn EVM Opcodes IX
Sload

3 min read


Mar 13

Learn EVM Opcodes VI

We start this section with memory, one of the most important databases of EVM. I try to explain how MSTORE opcode is working. MSTORE Opcode First you should read the memory layout page. offset: offset in the memory in bytes. (Byte position on the memory where you will start placing the value) …

Opcodes

2 min read

Learn EVM Opcodes VI
Learn EVM Opcodes VI
Opcodes

2 min read


Mar 13

Learn EVM Opcodes V

SHA3, CALLDATA, CALLDATALOAD, CALLVALUE, CODESIZE and GASLIMIT new opcodes. Today, in the fifth lesson of our series, as you can guess, we will dive into more boring and difficult opcode topics. SHA3 Opcode Keccak256 encrypts the desired(we want it) part of the data in memory. For this reason, we must first save…

Opcodes

3 min read

Learn EVM Opcodes V
Learn EVM Opcodes V
Opcodes

3 min read


Mar 13

Learn EVM Opcodes IV

We are continuing to progress in opcode business. In this lesson you will learn many new opcodes. These are MOD, EXP, LT,GT, EQ, ISZERO, SHL,SHR and BYTE MOD Opcode It gives the remaining value in the division operation on the stack. First we enter the value 2 and then the value 7…

Opcodes

4 min read

Learn EVM Opcodes IV
Learn EVM Opcodes IV
Opcodes

4 min read


Mar 13

Learn EVM Opcodes VII

We dealt with MSTORE8, MLOAD and Return opcodes in this lesson. MSTORE8 We use the MSTORE opcode for storing 32-byte value to write in the memory. However MSTORE8 opcode is used for storing 1-byte value to write in the memory. We can write 32 bytes and 1 byte of data to…

Opcodes

3 min read

Learn EVM Opcodes VII
Learn EVM Opcodes VII
Opcodes

3 min read


Mar 13

Learn EVM Opcodes VIII

Time to learn the bytecode introduction block of the all solidity contracts. What is the mystery behind this fucking 3 opcodes ? PUSH1 0x80 PUSH1 0x40 MSTORE When you start to analyse a contract, you will see that the opcodes start as follows. PUSH1 0x80 PUSH1 0x40 MSTORE We can…

Opcodes

3 min read

Learn EVM Opcodes VIII
Learn EVM Opcodes VIII
Opcodes

3 min read


Mar 10

Learn EVM Opcodes III

We will perform various manipulations on the largest number on the EVM. Thanks to this study, you will better understand the working (clock) logic of EVM. The largest maximum value and ADD Opcode We have “1” in the stack and we add the largest maximum value you can send to EVM is 32 bytes sized value. …

Opcodes

2 min read

Learn EVM Opcodes III
Learn EVM Opcodes III
Opcodes

2 min read


Mar 9

Learn EVM Opcodes II

It’s time to learn what the basic opcodes are. If you learn these opcodes, you can dominate the long bytecode sequences. You would like to understand ADD, SUB, POP,DIV and MUL opcodes. Welcome ! Each opcode will be shown both visually and in code implementation. What is the LIFO ? First of all, you should…

Opcodes

4 min read

Learn EVM Opcodes II
Learn EVM Opcodes II
Opcodes

4 min read

Solidity Foundry Opcodes Security

Solidity Foundry Opcodes Security

286 Followers

.sol

Following
  • Onur Dayıbaşı

    Onur Dayıbaşı

  • Turan Sert

    Turan Sert

  • Alex Otsu

    Alex Otsu

  • Veli Uysal

    Veli Uysal

  • Zaryab Afser

    Zaryab Afser

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech