Geant4.10
|
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <unistd.h>
#include "memoryprotection/filter.h"
Go to the source code of this file.
Data Structures | |
struct | AddressTable |
Functions | |
int | bSearchAddress (unsigned long address, int head, int tail) |
int | findAddress (unsigned long address) |
int | insertAddress (unsigned long address) |
void | outputAddresses (char *cmd) |
void | generategdbscripts () |
Variables | |
int | position = -1 |
struct AddressTable | Detected |
Definition at line 18 of file filter.cc.
References AddressTable::addresses, and Detected.
Referenced by findAddress().
int findAddress | ( | unsigned long | address | ) |
Definition at line 38 of file filter.cc.
References bSearchAddress(), AddressTable::counter, and Detected.
Referenced by insertAddress().
void generategdbscripts | ( | ) |
Definition at line 97 of file filter.cc.
References AddressTable::addresses, AddressTable::counter, and Detected.
Referenced by openFilter().
int insertAddress | ( | unsigned long | address | ) |
Definition at line 44 of file filter.cc.
References AddressTable::addresses, assert, AddressTable::counter, Detected, findAddress(), malloc(), position, realloc(), and AddressTable::space.
Referenced by openFilter().
void outputAddresses | ( | char * | cmd | ) |
Definition at line 84 of file filter.cc.
References AddressTable::addresses, AddressTable::counter, and Detected.
Referenced by openFilter().
struct AddressTable Detected |
Referenced by bSearchAddress(), findAddress(), generategdbscripts(), insertAddress(), and outputAddresses().
Definition at line 7 of file filter.cc.
Referenced by G4ArrayOps::Add(), G4eLowEnergyLoss::AlongStepDoIt(), G4GDMLReadSolids::BooleanRead(), G4SafetyHelper::CheckNextStep(), G4SafetyHelper::ComputeSafety(), G4MultiNavigator::ComputeSafety(), G4PathFinder::ComputeSafety(), RE02NestedPhantomParameterisation::ComputeTransformation(), G02DetectorConstruction::ConstructAssembly(), G4ArrayOps::Copy(), G4LowEnergyIonisation::DeexciteAtom(), G4ArrayOps::Divide(), Par01PiModel::DoIt(), G4DNAIndirectHit::G4DNAIndirectHit(), G4PAIPhotonModel::GetAlongStepTransfer(), G4PAIxSection::GetCerenkovEnergyTransfer(), XrayFluoDetectorConstruction::GetDetectorPosition(), G4PAIxSection::GetEnergyTransfer(), G4PAIxSection::GetMMEnergyTransfer(), G4PAIxSection::GetPlasmonEnergyTransfer(), G4PAIPhotonModel::GetPostStepTransfer(), G4VXTRenergyLoss::GetRandomAngle(), G4SynchrotronRadiationInMat::GetRandomEnergySR(), G4PAIxSection::GetResonanceEnergyTransfer(), G4PAIxSection::GetRutherfordEnergyTransfer(), G4PAIySection::GetStepCerenkovLoss(), G4PAIySection::GetStepEnergyLoss(), G4PAIySection::GetStepPlasmonLoss(), G4VXTRenergyLoss::GetXTRrandomEnergy(), HepMCG4Interface::HepMC2G4(), insertAddress(), G4PathFinder::Locate(), G4MultiNavigator::LocateGlobalPointWithinVolume(), G4ArrayOps::Multiply(), G4GDMLReadParamvol::ParametersRead(), G4GDMLReadStructure::PhysvolRead(), G4GDMLReadDefine::PositionRead(), G4PathFinder::PrepareNewTrack(), CexmcTrackPoints::ProcessHits(), G4FastStep::ProposePrimaryTrackFinalPosition(), G4GDMLReadSolids::ReflectedSolidRead(), G4PathFinder::ReLocate(), G4GDMLReadStructure::ReplicaRead(), CexmcPhysicsList< BasePhysics, StudiedPhysics, ProductionModel >::ResampleTrackLengthInTarget(), G4PAIPhotData::SampleAlongStepPhotonTransfer(), G4PAIPhotData::SampleAlongStepPlasmonTransfer(), G4PAIPhotData::SampleAlongStepTransfer(), G4PAIModelData::SampleAlongStepTransfer(), G4PAIPhotData::SamplePostStepPhotonTransfer(), G4PAIPhotData::SamplePostStepPlasmonTransfer(), G4PAIModelData::SamplePostStepTransfer(), G4PAIPhotData::SamplePostStepTransfer(), G4NuclNuclDiffuseElastic::SampleTableThetaCMS(), G4DiffuseElastic::SampleTableThetaCMS(), G4ArrayOps::Set(), CexmcParticleGun::SetOrigPosition(), G4INCL::Particle::setPosition(), G4INCL::StandardPropagationModel::shootComposite(), G4INCL::StandardPropagationModel::shootParticle(), and G4ArrayOps::Subtract().