how does the simulator work when the corrupted party has no input?

"the only thing the simulator can do in the ideal model is to choose the corrupted parties' inputs." Yehuda Lindell said.

1- what will happen when the corrupted parties have no inputs to the protocol? e.g. in cases that the corrupted party/parties are just some computing servers with no input.

2- in these cases, is it any relationship between security against malicious and semi-honest adversaries. As I am thinking that, as the corrupted party has no input, anything that a malicious adversary is able to do is also possible for the semi-honest adversary.

if not,

is it possible in any way to conclude security against malicious adversaries in these cases when we have proved security against semi-honest adversaries?

There is no general implication between semi-honest and malicious security. Take any semi-honest protocol and modify it to add the behavior "if the other person sent me the message $(\textsf{asdf}, v)$ then send my input to that party and output $v$." Adding this behavior to the protocol doesn't affect semi-honest security since honest parties never send each other $\textsf{asdf}$ messages. But the effect on malicious security should be clear, and it has nothing to do with which party has input, etc.
• thanks for your response. would you please consider this protocol and give me more details. Alice outsources her text $T$ is some manner to Bob and later wants to query for pattern $P$. The query is in the form of (encrypted pattern, token1, token2). Bob will only learn the matched positions and will send them to Alice along with that encrypted matched substrings. in the ideal functionality, Alice sends $T$ to TTP and TTP sends $|T|$ to Sim and Bob. Later, Alice sends $P$ to TTP, then TTP sends the matched positions to Bob and Sim.... – MH Samadani Nov 3 '15 at 10:48
• ....if Bob or Sim send an approval message to TTP, he will send these matched positions to Alice. How Sim should work here? should he sends some fake $T^\prime$ to the adversary, and later, after receiving the matched positions makes some pattern $p^\prime$ that results in the same positions? also, should the resulting positions in real and ideal world be equal? or he should just make a similar distribution of matched positions? – MH Samadani Nov 3 '15 at 10:53