Skip to content

Commit

Permalink
Add dyninstAPI/src/linux-power.C
Browse files Browse the repository at this point in the history
  • Loading branch information
hainest committed Apr 3, 2024
1 parent 23df75b commit 7c1602b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions dyninstAPI/src/linux-power.C
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,6 @@ bool AddressSpace::getDyninstRTLibName() {
return true;
}

// floor of inferior malloc address range within a single branch of x
// for 32-bit ELF PowerPC mutatees
Dyninst::Address region_lo(const Dyninst::Address x) {
const Dyninst::Address floor = getpagesize();

Expand All @@ -212,8 +210,6 @@ Dyninst::Address region_lo(const Dyninst::Address x) {
}


// floor of inferior malloc address range within a single branch of x
// for 64-bit ELF PowerPC mutatees
Dyninst::Address region_lo_64(const Dyninst::Address x) {
const Dyninst::Address floor = getpagesize();

Expand All @@ -225,9 +221,6 @@ Dyninst::Address region_lo_64(const Dyninst::Address x) {
return floor;
}


// ceiling of inferior malloc address range within a single branch of x
// for 32-bit ELF PowerPC mutatees
Dyninst::Address region_hi(const Dyninst::Address x) {
const Dyninst::Address ceiling = ~(Dyninst::Address)0 & 0xffffffff;

Expand All @@ -240,8 +233,6 @@ Dyninst::Address region_hi(const Dyninst::Address x) {
}


// ceiling of inferior malloc address range within a single branch of x
// for 64-bit ELF PowerPC mutatees
Dyninst::Address region_hi_64(const Dyninst::Address x) {
const Dyninst::Address ceiling = ~(Dyninst::Address)0;

Expand Down

0 comments on commit 7c1602b

Please sign in to comment.