fn _make_proc_args(opts: &Opts) -> String {
    let args = if opts.ld.is_some() {
        format!(
            "{}.path, {}.path",
            opts.template_ld_name, opts.template_bin_name
        )
    } else {
        format!("{}.path", opts.template_bin_name)
    };

    let env = if opts.libc.is_some() {
        format!(", env={{\"LD_PRELOAD\": {}.path}}", opts.template_libc_name)
    } else {
        "".to_string()
    };

    format!("[{}]{}", args, env)
}
/// Make arguments to pwntools `process()` function
Make arguments to pwntools `process()` function
Make arguments to pwntools ` process () ` function
fn _make_proc_args(opts: &Opts) -> String {
    let args = if opts.ld.is_some() {
        format!(
            "{}.path, {}.path",
            opts.template_ld_name, opts.template_bin_name
        )
    } else {
        format!("{}.path", opts.template_bin_name)
    };
    let env = if opts.libc.is_some() {
        format!(", env={{\"LD_PRELOAD\": {}.path}}", opts.template_libc_name)
    } else {
        "".to_string()
    };
    format!("[{}]{}", args, env)
}
fn _make_proc_args ( opts : & Opts ) -> String { let args = if opts . ld . is_some ( ) { format ! ( " " opts template_ld_name opts template_bin_name ) } else { format ! ( " " opts template_bin_name ) } ; let env = if opts . libc . is_some ( ) { format ! ( " \" \" " opts template_libc_name ) } else { " " . to_string ( ) } ; format ! ( " " args env ) }
Make arguments to pwntools `process()` function
Make arguments to pwntools ` process () ` function
opts
&Opts