Skip to content

Commit

Permalink
no jump check
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny2022da committed Mar 15, 2024
1 parent c83fde1 commit 8da1306
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/vm/contract.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ func (c *Contract) validJumpdest(dest *uint256.Int) bool {
// isCode returns true if the provided PC location is an actual opcode, as
// opposed to a data-segment following a PUSHN operation.
func (c *Contract) isCode(udest uint64) bool {
return true
// Do we already have an analysis laying around?
if c.analysis != nil {
return c.analysis.codeSegment(udest)
Expand Down

0 comments on commit 8da1306

Please sign in to comment.