}
HChar resolved_name[VKI_PATH_MAX];
VG_(realpath)(exe_name, resolved_name);
- VG_(resolved_exename) = VG_(strdup)("initimg-linux.sre.1", resolved_name);
+ VG_(resolved_exename) = VG_(strdup)("initimg-linux.scs.1", resolved_name);
}
/* client_SP is pointing at client's argc/argv */
// matching executable later in the path.
if (VG_(access)(buf, True/*r*/, False/*w*/, True/*x*/) == 0) {
VG_(free)(executable_name_out);
- executable_name_out = VG_(strdup)("match_executable", buf);
+ executable_name_out = VG_(strdup)("match_executable.1", buf);
return True; // Stop looking
} else if (VG_(access)(buf, True/*r*/, False/*w*/, False/*x*/) == 0
&& executable_name_out == NULL)
{
- executable_name_out = VG_(strdup)("match_executable", buf);
+ executable_name_out = VG_(strdup)("match_executable.2", buf);
return False; // Keep looking
} else {
return False; // Keep looking
// Now see if it already exists in the table of strings that we have.
if (!decaying_string_table) {
decaying_string_table
- = VG_(newFM)( VG_(malloc), "syswrap-darwin.pd.1",
+ = VG_(newFM)( VG_(malloc), "syswrap-darwin.ld.1",
VG_(free), decaying_string_table_cmp );
}
// We haven't seen this string before, so strdup it and add
// it to the table.
vg_assert(key == NULL && val == 0);
- key = VG_(strdup)("syswrap-darwin.pd.2", buf);
+ key = VG_(strdup)("syswrap-darwin.ld.2", buf);
VG_(addToFM)(decaying_string_table, (UWord)key, (UWord)0);
}
if (sr_isError(sres))
#endif
sres = VG_(open)(buf, VKI_O_RDONLY, 0);
- //sres = VG_(open)("/usr/home/paulf/build/src/obj/usr/home/paulf/build/src/amd64.amd64/libexec/rtld-elf/ld-elf.so.1.full", VKI_O_RDONLY, 0);
if (sr_isError(sres)) {
VG_(printf)("valgrind: m_ume.c: can't open interpreter\n");
VG_(exit)(1);
return VKI_ENOEXEC;
}
- info->executable_path = VG_(strdup)("ume.macho.executable_path", name);
+ info->executable_path = VG_(strdup)("ume.macho.load_macho", name);
SysRes res = VG_(dup)(fd);
if (!sr_isError(res))