Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 517 for fakePC (0.11 sec)

  1. src/runtime/libfuzzer.go

    	libfuzzerCallTraceIntCmp(&__sanitizer_cov_trace_const_cmp1, uintptr(arg0), uintptr(arg1), uintptr(fakePC))
    }
    
    //go:nosplit
    func libfuzzerTraceConstCmp2(arg0, arg1 uint16, fakePC uint) {
    	fakePC = fakePC % retSledSize
    	libfuzzerCallTraceIntCmp(&__sanitizer_cov_trace_const_cmp2, uintptr(arg0), uintptr(arg1), uintptr(fakePC))
    }
    
    //go:nosplit
    func libfuzzerTraceConstCmp4(arg0, arg1 uint32, fakePC uint) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 23 01:12:02 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  2. src/internal/fuzz/trace.go

    func libfuzzerTraceCmp1(arg0, arg1 uint8, fakePC uint)  {}
    func libfuzzerTraceCmp2(arg0, arg1 uint16, fakePC uint) {}
    func libfuzzerTraceCmp4(arg0, arg1 uint32, fakePC uint) {}
    func libfuzzerTraceCmp8(arg0, arg1 uint64, fakePC uint) {}
    
    func libfuzzerTraceConstCmp1(arg0, arg1 uint8, fakePC uint)  {}
    func libfuzzerTraceConstCmp2(arg0, arg1 uint16, fakePC uint) {}
    func libfuzzerTraceConstCmp4(arg0, arg1 uint32, fakePC uint) {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 12 00:12:53 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/libfuzzer_amd64.s

    	MOVQ    $ret_sled<>(SB), BX
    	// Load the address of the i'th return instruction from the return sled.
    	// The index is given in the fakePC argument.
    	ADDQ    R8, BX
    	PUSHQ   BX
    	// Call the original function with the fakePC return address on the stack.
    	// Function arguments arg0 and arg1 are passed in the registers specified
    	// by the x64 calling convention.
    	JMP     AX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 04:57:07 UTC 2023
    - 5K bytes
    - Viewed (0)
  4. src/runtime/libfuzzer_arm64.s

    #define RARG2 R2
    #define RARG3 R3
    
    #define REPEAT_2(a) a a
    #define REPEAT_8(a) REPEAT_2(REPEAT_2(REPEAT_2(a)))
    #define REPEAT_128(a) REPEAT_2(REPEAT_8(REPEAT_8(a)))
    
    // void runtime·libfuzzerCallTraceIntCmp(fn, arg0, arg1, fakePC uintptr)
    // Calls C function fn from libFuzzer and passes 2 arguments to it after
    // manipulating the return address so that libfuzzer's integer compare hooks
    // work.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 07 14:47:46 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/walk/compare.go

    	"cmd/compile/internal/ssagen"
    	"cmd/compile/internal/typecheck"
    	"cmd/compile/internal/types"
    )
    
    func fakePC(n ir.Node) ir.Node {
    	// In order to get deterministic IDs, we include the package path, absolute filename, line number, column number
    	// in the calculation of the fakePC for the IR node.
    	hash := fnv.New32()
    	// We ignore the errors here because the `io.Writer` in the `hash.Hash` interface never returns an error.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/expr.go

    			}
    			var hookArgs []ir.Node
    			for _, arg := range args {
    				hookArgs = append(hookArgs, tracecmpArg(arg, types.Types[hook.paramType], init))
    			}
    			hookArgs = append(hookArgs, fakePC(n))
    			init.Append(mkcall(hook.runtimeFunc, nil, init, hookArgs...))
    		}
    	}
    }
    
    // walkDivMod walks an ODIV or OMOD node.
    func walkDivMod(n *ir.BinaryExpr, init *ir.Nodes) ir.Node {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:34:01 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  7. security/pkg/pki/ca/mock/fakeca.go

    	"istio.io/istio/security/pkg/pki/util"
    )
    
    // FakeCA is a mock of CertificateAuthority.
    type FakeCA struct {
    	SignedCert    []byte
    	SignErr       *caerror.Error
    	KeyCertBundle *util.KeyCertBundle
    	ReceivedIDs   []string
    }
    
    // Sign returns the SignErr if SignErr is not nil, otherwise, it returns SignedCert.
    func (ca *FakeCA) Sign(csr []byte, certOpts ca.CertOpts) ([]byte, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 03 18:57:19 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. cni/pkg/plugin/cnieventclient_test.go

    	ContainerID: "bbb-eee-www",
    }
    
    var (
    	fakeIP                 = net.ParseIP("99.9.9.9")
    	fakeGW                 = net.ParseIP("88.9.9.9")
    	fakeIDX                = 0
    	fakePrevResultIPConfig = cniv1.IPConfig{
    		Interface: &fakeIDX,
    		Address: net.IPNet{
    			IP: fakeIP,
    		},
    		Gateway: fakeGW,
    	}
    )
    
    func TestPushCNIAddEventSucceed(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/fakes_test.go

    	return nil
    }
    
    // fakeNs is a mock struct for testing
    type fakeNs struct {
    	closed *atomic.Bool
    	fd     uintptr
    	inode  uint64
    }
    
    func newFakeNs(fd uintptr) *fakeNs {
    	// the fake inode is the fd! magic.
    	return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: uint64(fd)}
    }
    
    func newFakeNsInode(fd uintptr, inode uint64) *fakeNs {
    	return &fakeNs{closed: &atomic.Bool{}, fd: fd, inode: inode}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  10. src/database/sql/fakedb_test.go

    func (d *fakeDriver) getDB(name string) *fakeDB {
    	d.mu.Lock()
    	defer d.mu.Unlock()
    	if d.dbs == nil {
    		d.dbs = make(map[string]*fakeDB)
    	}
    	db, ok := d.dbs[name]
    	if !ok {
    		db = &fakeDB{name: name}
    		d.dbs[name] = db
    	}
    	return db
    }
    
    func (db *fakeDB) wipe() {
    	db.mu.Lock()
    	defer db.mu.Unlock()
    	db.tables = nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top